Skip to content

Commit ae6530a

Browse files
committed
ci(deploy): only deploy on successful builds
Right now we only check to see if the workflow completed. Unfortunately there are several status results that can be encompassed by 'completed'. Signed-off-by: Randolph Sapp <[email protected]>
1 parent 268225e commit ae6530a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
agregate:
1313
name: Agregate build artifacts
1414
runs-on: ubuntu-latest
15+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1516
container:
1617
image: ghcr.io/texasinstruments/processor-sdk-doc:latest
1718
options: --entrypoint /bin/bash

0 commit comments

Comments
 (0)