Skip to content

Commit 22e6b3d

Browse files
authored
[CI] Adjust pages deployment configuration (#199)
Avoid showing skipped job on pull requests and rename workflow
1 parent be96c77 commit 22e6b3d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pages.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: Build
1+
name: Pages
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
permissions:
69
id-token: write
@@ -10,7 +13,6 @@ permissions:
1013
jobs:
1114
deploy-sphinx-to-github-pages:
1215
runs-on: ubuntu-latest
13-
if: github.ref == 'refs/heads/master'
1416
steps:
1517
- name: Checkout repository
1618
uses: actions/checkout@v2

0 commit comments

Comments
 (0)