Skip to content

Commit

Permalink
Add script for publishing website
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Apr 29, 2024
1 parent 2fdcb17 commit ef636ce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

cd website
npm run build
cd ..
git switch gh-pages
cp -R website/build/* .
git add --all
git commit -m "Update website"
git push origin gh-pages
git switch master

0 comments on commit ef636ce

Please sign in to comment.