Move FSHOnline to https://fshonline.fshschool.org/ (#184) #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GH Pages | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy-to-pages: | |
name: Deploy to GH Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '20' | |
- run: npm install | |
- run: npm run build | |
env: | |
VITE_BITLY_KEY: ${{ secrets.VITE_BITLY_KEY }} | |
- name: Publish build to github pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
cname: fshonline.fshschool.org | |
publish_dir: dist | |
publish_branch: gh-pages | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |