Skip to content

Commit 5727caa

Browse files
committed
cicd: fix docs publish workflow
Fixes two problems: 1. trigger it for `scylla-4.x` 2. make it non-concurrent
1 parent 733471a commit 5727caa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/docs-pages.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: "Docs / Publish"
55
on:
66
push:
77
branches:
8-
- scylla-3.x
8+
- scylla-4.x
99
- 'scylla-**'
1010
paths:
1111
- 'docs/**'
@@ -18,6 +18,10 @@ on:
1818
jobs:
1919
release:
2020
runs-on: ubuntu-latest
21+
concurrency:
22+
group: single
23+
cancel-in-progress: true
24+
2125
steps:
2226
- name: Checkout
2327
uses: actions/checkout@v4
@@ -36,10 +40,13 @@ jobs:
3640
distribution: 'temurin'
3741
- name: Set up env
3842
run: make -C docs setupenv
43+
3944
- name: Build redirects
4045
run: make -C docs redirects
46+
4147
- name: Build docs
4248
run: make -C docs multiversion
49+
4350
- name: Deploy docs to GitHub Pages
4451
run: ./docs/_utils/deploy.sh
4552
env:

0 commit comments

Comments
 (0)