Skip to content

Commit 3fe376d

Browse files
committed
Update CI logic
1 parent 55b4cbf commit 3fe376d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
make html
4545
4646
- name: Deploy 🚀
47-
if: github.ref == 'refs/heads/master'
4847
uses: peaceiris/actions-gh-pages@v3
4948
with:
5049
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@@ -53,7 +52,7 @@ jobs:
5352
publish_dir: _build/html
5453

5554

56-
sphinx-build-master:
55+
sphinx-build:
5756
runs-on: ubuntu-latest
5857
if: "!github.event.inputs.run_deploy"
5958

@@ -117,7 +116,6 @@ jobs:
117116
make html-dev -W
118117
119118
- name: Deploy 🚀
120-
if: github.ref == 'refs/heads/master'
121119
uses: peaceiris/actions-gh-pages@v3
122120
with:
123121
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}

0 commit comments

Comments
 (0)