update urls one more time #2
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 Github Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Build | |
run: | | |
npm ci | |
npm run build | |
npm run export | |
# creates a .nojekyll file in the out directory to tell GitHub Pages not to treat the site as a Jekyll project. | |
touch out/.nojekyll | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.4.3 | |
with: | |
branch: gh-pages | |
folder: out | |
ssh-key: ${{ secrets.DEPLOY_KEY }} |