Skip to content

Commit

Permalink
refactor: update logic check on when to run upload-to-cdn (#565)
Browse files Browse the repository at this point in the history
refactor: update logic check on when to run
  • Loading branch information
daine authored Jun 20, 2024
1 parent 498edf3 commit 35e1604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/upload-cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
exit 1
upload-to-cdn:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
# Runs on manual triggers (workflow_dispatch), or if the workflow run "Publish packages" was successful
if: ${{ github.event_name != 'workflow_run' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit 35e1604

Please sign in to comment.