Skip to content

Commit 3d9d45f

Browse files
authored
Merge pull request roboflow#1006 from roboflow/ci/doc/concurrency
ci: 👷 develop doc concurrency added for single run and cancel old ones
2 parents 88d6347 + 4f9e5a5 commit 3d9d45f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ on:
44
push:
55
branches:
66
- develop
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref}}
11+
cancel-in-progress: true
712

813
permissions:
914
contents: write
1015
pages: write
1116
pull-requests: write
1217

18+
1319
jobs:
1420
deploy:
1521
runs-on: ubuntu-latest
@@ -23,7 +29,7 @@ jobs:
2329
with:
2430
python-version: '3.10'
2531
- name: 📦 Install mkdocs-material
26-
run: pip install "mkdocs-material[all]"
32+
run: pip install "mkdocs-material"
2733
- name: 📦 Install mkdocstrings[python]
2834
run: pip install "mkdocstrings[python]"
2935
- name: 📦 Install mkdocs-material[imaging]

0 commit comments

Comments
 (0)