Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutra-Fs authored Aug 9, 2023
1 parent 10e1e84 commit 78f874f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
path: ./website
- uses: actions/checkout@v3
with:
repository: techlauncher-mlai-edge-physics/physics_in_the_browser
Expand All @@ -41,11 +39,11 @@ jobs:
- run: npm run build --if-present
working-directory: ./main
- run: touch ./main/dist/.nojekyll
- run: cp -r ./main/dist ./website/
- run: cp -r ./main/dist ./
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
# The folder in your repository that you want to deploy. If your build script compiles into a directory named build you would put it here. Folder paths cannot have a leading / or ./. If you wish to deploy the root directory you can place a . here.
folder: ./website/dist
folder: ./dist
# If you would like to push the contents of the deployment folder into a specific directory on the deployment branch you can specify it here.

0 comments on commit 78f874f

Please sign in to comment.