Skip to content

Commit

Permalink
.github: Ensure that docs are still published on merges/autopushes to…
Browse files Browse the repository at this point in the history
… master, even if CI has already been ran
  • Loading branch information
cbrxyz committed Sep 25, 2024
1 parent e494b1f commit 2c5700a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,12 @@ jobs:
deploy-docs:
name: Deploy docs from master
runs-on: self-hosted
needs:
- super-ci
if: github.ref == 'refs/heads/master'
needs: super-ci
# https://github.com/actions/runner/issues/491#issuecomment-850884422
if: |
always() &&
(needs.super-ci.result == 'skipped' || needs.super-ci.result == 'success') &&
github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 2c5700a

Please sign in to comment.