Skip to content

Commit

Permalink
build: fix gh pages deploy failing
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Jan 19, 2022
1 parent b4fd270 commit ad28b64
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: GitHub Pages

on:
Expand Down Expand Up @@ -31,13 +30,13 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm install
- run: npm run build
- run: npm run export

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/out

0 comments on commit ad28b64

Please sign in to comment.