File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 55# - Builds documentation (including running Jupyter notebooks to generate output cells).
66# - Uploads the built site as a Pages artifact.
77# Job 2: deploy-dev
8- # - Deploys the built site to GitHub Pages for development (PRs, pushes to develop/master).
8+ # - Deploys the built site to GitHub Pages for development (pushes to develop/master).
99# Job 3: deploy-prod
1010# - Deploys the built site to gh_pages branch for production (release tags starting with v*).
1111# - This triggers deployment to a custom domain via webhook.
@@ -176,10 +176,8 @@ jobs:
176176
177177 runs-on : ubuntu-latest
178178
179- # Triggered on pull request, push to develop or master branch only
180- if : >
181- github.event_name == 'pull_request' || github.ref == 'refs/heads/develop'
182- || github.ref == 'refs/heads/master'
179+ # Triggered on push to develop or master branch only
180+ if : env.CI_BRANCH == 'develop' || env.CI_BRANCH == 'master'
183181
184182 steps :
185183 # Deploy the static files created in the previous job to GitHub Pages
You can’t perform that action at this time.
0 commit comments