Skip to content

Commit

Permalink
Update build-deploy-wasm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alicja-januszkiewicz authored May 1, 2024
1 parent 2bc9d90 commit e1973e0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-deploy-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "Alicja Januszkiewicz"
git checkout --orphan gh-pages
git add dist/
git stash
git rm -rf .
git reset # existing files will be staged at this point
git add "dist/" # commit /dist/ and remove everything else
git commit -m "tmp"
git clean -dfx
git stash pop
git update-ref -d HEAD # redo the first commit
git reset
mv dist/* . # Move artifacts to root directory
rm dist -r
mv dist/* .
git add .
git commit -m "Deploy binary artifact to gh-pages"
git push origin gh-pages --force

0 comments on commit e1973e0

Please sign in to comment.