Skip to content

Commit 3a4622a

Browse files
authored
Update github_build.yml
1 parent 916a445 commit 3a4622a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/github_build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
27-
27+
with:
28+
ref: pager # Check out the 'pager' branch
2829
- name: Setup Node.js
2930
uses: actions/setup-node@v4
3031
with:
@@ -54,11 +55,13 @@ jobs:
5455
name: github-pages
5556
url: ${{ steps.deployment.outputs.page_url }}
5657
needs: build
57-
if: github.ref == 'refs/heads/pager' && github.event_name == 'push' # Deploy only on push to 'pager'
58+
if: github.ref == 'refs/heads/pager' && github.event_name == 'push'
5859
runs-on: ubuntu-latest
5960
steps:
6061
- name: Checkout
6162
uses: actions/checkout@v4
63+
with:
64+
ref: pager # Check out the 'pager' branch
6265
- name: Setup Pages
6366
uses: actions/configure-pages@v5
6467
- name: Upload artifact

0 commit comments

Comments
 (0)