Skip to content

Commit df1e4ef

Browse files
committed
Deploy docs when a release is made
1 parent 1c15cdb commit df1e4ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Build
2-
on: [push, pull_request]
2+
on: [push, pull_request, release]
33
jobs:
44
build:
55
runs-on: ubuntu-latest
@@ -52,7 +52,7 @@ jobs:
5252
- run: find build-folder -type d -exec chmod 755 {} \;
5353
- run: find build-folder -type f -exec chmod 644 {} \;
5454
- name: Deploy to GitHub Pages
55-
if: github.event_name == 'create' && github.event.ref_type == 'tag'
55+
if: github.event_name == 'release'
5656
uses: JamesIves/github-pages-deploy-action@releases/v3
5757
with:
5858
BRANCH: gh-pages

0 commit comments

Comments
 (0)