Skip to content

Commit

Permalink
Deploy docs when a release is made
Browse files Browse the repository at this point in the history
  • Loading branch information
mpickering committed Dec 16, 2020
1 parent 1c15cdb commit df1e4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on: [push, pull_request]
on: [push, pull_request, release]
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- run: find build-folder -type d -exec chmod 755 {} \;
- run: find build-folder -type f -exec chmod 644 {} \;
- name: Deploy to GitHub Pages
if: github.event_name == 'create' && github.event.ref_type == 'tag'
if: github.event_name == 'release'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
BRANCH: gh-pages
Expand Down

0 comments on commit df1e4ef

Please sign in to comment.