Skip to content

Commit 1aab658

Browse files
committed
Update gh-pages deploy
1 parent a6ee07a commit 1aab658

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ on:
88
branches:
99
- master
1010

11+
# Allow only one concurrent deployment
12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
15+
1116
jobs:
1217
deploy:
1318
runs-on: ubuntu-latest
1419
if: ${{ github.event.workflow_run.conclusion == 'success' }}
20+
timeout-minutes: 15
1521
steps:
1622
- name: Checkout
1723
uses: actions/checkout@v4
@@ -26,7 +32,7 @@ jobs:
2632
run: pixi run book-build
2733

2834
- name: Deploy
29-
uses: peaceiris/actions-gh-pages@v3
35+
uses: peaceiris/actions-gh-pages@v4
3036
with:
3137
github_token: ${{ secrets.GITHUB_TOKEN }}
3238
publish_branch: gh-pages

0 commit comments

Comments
 (0)