Skip to content

Commit 00c84cb

Browse files
committed
fix: run build before deploy
1 parent 2bb360b commit 00c84cb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,17 @@ jobs:
3535
- name: Install dependencies
3636
run: npm ci
3737

38+
- name: Build
39+
run: npm run build
40+
3841
- name: Typedoc
3942
run: npm run doc
4043

4144
- name: Deploy
42-
uses: peaceiris/actions-gh-pages@v3
45+
uses: JamesIves/github-pages-deploy-action@4.1.3
4346
with:
44-
github_token: ${{ secrets.GITHUB_TOKEN }}
45-
publish_dir: ./docs/
47+
branch: gh-pages
48+
folder: docs
4649

4750
- name: Publish
4851
run: npm publish

0 commit comments

Comments
 (0)