aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-18 15:37:28 -0700
committerGitHub <[email protected]>2021-03-18 15:37:28 -0700
commit705c60e4bcc1038aa62f92152070e0d492a58e04 (patch)
treed37615526ffd355d3a611c8d7e80b5e58a6bfa7f /.github/workflows
parentfix: mdbook chapter heading (diff)
downloadbook-705c60e4bcc1038aa62f92152070e0d492a58e04.tar.xz
book-705c60e4bcc1038aa62f92152070e0d492a58e04.zip
fix: only deploy changes on master branch.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 8a7a16b..8781ba7 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,5 +1,8 @@
name: Deploy
-on: [push]
+on:
+ push:
+ branches:
+ - master
jobs:
build-and-deploy:
runs-on: ubuntu-latest