Skip to content

Commit

Permalink
build docs on release publish
Browse files Browse the repository at this point in the history
  • Loading branch information
acoffman committed Apr 6, 2022
1 parent 872e931 commit bc2477b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Build and deploy docs
on:
push:
branches: [main]
on:
release:
types: [published]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]
with:
ref: release

- name: Build docs
run: |
Expand All @@ -18,4 +20,4 @@ jobs:
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/build
folder: docs/build

0 comments on commit bc2477b

Please sign in to comment.