Skip to content

Link to Knowledge Sharing Sessions (#189) #112

Link to Knowledge Sharing Sessions (#189)

Link to Knowledge Sharing Sessions (#189) #112

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'