Skip to content

Commit

Permalink
second test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Sep 27, 2024
1 parent 34355f5 commit 6539d34
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.check_skip.outputs.should_skip }}
run_id: ${{ fromJSON(steps.skip_check.outputs.skipped_by).id }}
skipped_by: ${{ steps.check_skip.outputs.skipped_by }}
steps:
- id: check_skip
name: Check if workflow has already been ran
uses: fkirc/skip-duplicate-actions@v5

super-ci:
Expand Down Expand Up @@ -131,7 +132,12 @@ jobs:
with:
name: docs-ci-html-${{ github.sha }}
path: ${{ github.workspace }}/build/docs
run-id: ${{ needs.avoid-duplicate-ci.outputs.run_id }}
run-id: >
${{
needs.avoid-duplicate-ci.outputs.skipped_by == '{}' &&
github.run_id ||
fromJSON(needs.avoid-duplicate-ci.outputs.skipped_by).id
}}
# Publish the artifact to the GitHub Pages branch
- name: Push docs to mil.ufl.edu
Expand Down

0 comments on commit 6539d34

Please sign in to comment.