Skip to content

Commit 65ba1b1

Browse files
committed
update condition to wait until after build
1 parent 13d8187 commit 65ba1b1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/test-upload-local.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ on:
1414
jobs:
1515
Test-Local-Uploads:
1616
runs-on: ubuntu-latest
17-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event_name == 'pull_request' }}
17+
if: |
18+
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') ||
19+
(github.event_name == 'workflow_dispatch') ||
20+
(github.event_name == 'push' && github.event.workflow_run.conclusion == 'success') ||
21+
(github.event_name == 'pull_request' && github.event.workflow_run.conclusion == 'success')
1822
1923
env:
2024
COMPOSE_FILE: ./docker-compose.yml

.github/workflows/test-upload-nginx.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ on:
1414
jobs:
1515
Test-Nginx-Uploads:
1616
runs-on: ubuntu-latest
17-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event_name == 'pull_request' }}
17+
if: |
18+
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') ||
19+
(github.event_name == 'workflow_dispatch') ||
20+
(github.event_name == 'push' && github.event.workflow_run.conclusion == 'success') ||
21+
(github.event_name == 'pull_request' && github.event.workflow_run.conclusion == 'success')
1822
1923
env:
2024
COMPOSE_FILE: ./docker-compose-nginx.yml

0 commit comments

Comments
 (0)