Skip to content

Commit

Permalink
Merge pull request #196 from ocefpaf/fix-gh-pages
Browse files Browse the repository at this point in the history
fix gh-pages publication
  • Loading branch information
ocefpaf committed Sep 19, 2022
2 parents 48e19c8 + 77ead99 commit 3c9b52d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Build and Deploy docs

on:
pull_request:

push:
branches: [master, main]
tags:
- "v*"

jobs:
build-docs:
Expand Down Expand Up @@ -42,6 +45,7 @@ jobs:
popd
- name: Deploy
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
uses: peaceiris/actions-gh-pages@v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3c9b52d

Please sign in to comment.