mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-10-02 06:03:12 +00:00
fix(ci): run the static check after the legacy ci job
Both jobs call ci-static, which cancels the other in-progress run on the same ref, so ci-complete never saw both succeed.
This commit is contained in:
parent
1cd8d8756a
commit
bbc95f320f
1 changed files with 4 additions and 2 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -32,9 +32,11 @@ jobs:
|
|||
build-command: "npx @11ty/eleventy"
|
||||
check-dir: "_site"
|
||||
|
||||
# ci-static cancels other in-progress runs of this workflow on the same ref.
|
||||
# Run after the legacy ci job so both calls can finish.
|
||||
static:
|
||||
needs: autofix
|
||||
if: always() && !cancelled() && (needs.autofix.result == 'skipped' || needs.autofix.outputs.committed != 'true')
|
||||
needs: [autofix, ci]
|
||||
if: always() && !cancelled() && needs.ci.result == 'success' && (needs.autofix.result == 'skipped' || needs.autofix.outputs.committed != 'true')
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-static.yaml@74d3bfbdeb670654920b811c9b36f44e5f76d122 # v1.0.19
|
||||
with:
|
||||
build-command: "npx @11ty/eleventy"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue