Skip to content

Commit

Permalink
chore: publish github pages on release build
Browse files Browse the repository at this point in the history
  • Loading branch information
pleb committed Jun 18, 2022
1 parent 5a2c7d2 commit 037055a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,5 @@ jobs:
- name: Generate documentation
run: npm run generate-doc

- name: Deploy docs to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages
folder: docs

- name: Run tests
run: npm test
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
- name: Generate documentation
run: npm run generate-doc

- name: Deploy docs to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages
folder: docs

- name: Release package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 037055a

Please sign in to comment.