Skip to content

Commit

Permalink
fix: run build before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Symbitic committed Jun 1, 2021
1 parent 2bb360b commit 00c84cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Typedoc
run: npm run doc

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: JamesIves/github-pages[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/
branch: gh-pages
folder: docs

- name: Publish
run: npm publish
Expand Down

0 comments on commit 00c84cb

Please sign in to comment.