1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

github: prevent parallel runs of gh-pages update

Ensure sequential updates to the gh-pages branch. Otherwise, if parallel
jobs are triggered, onnly one (the first to complete) will succeed and
the others will fail with git push error (because the tip of the
gh-pages has moved and their commit doesn't apply anymore).
This commit is contained in:
Markus Lehtonen 2023-09-15 11:43:23 +03:00
parent ff1a212719
commit ef3ad8f5f3

View file

@ -8,6 +8,10 @@ on:
- v[0-9]+.[0-9]+.[0-9]+
release:
types: [published]
concurrency:
group: ${{ github.workflow }}
jobs:
build:
name: Update gh-pages