disable basePath in CI #27
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: GitHub Pages deploy | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.3.1 | |
- name: Install node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- run: npm ci | |
- run: npm run gha-export | |
- name: Deploy GitHub Pages | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/github-pages-deploy-action@4.1.0 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: out |