Skip to content

Commit

Permalink
Update build_nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MP3Martin authored Sep 17, 2022
1 parent a2d6592 commit 2c188b6
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/build_nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,24 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cd into nextjs
run: cd React_web_GUI
- name: Install packages
run: yarn install --immutable
run: |
cd React_web_GUI
yarn install --immutable
- name: Build project
run: yarn build
run: |
cd React_web_GUI
yarn build
- name: Export static files
run: yarn export
run: |
cd React_web_GUI
yarn export
- name: Add .nojekyll file
run: touch ./out/.nojekyll
run: |
cd React_web_GUI
touch ./out/.nojekyll
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out
folder: React_web_GUI/out

0 comments on commit 2c188b6

Please sign in to comment.