diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2026-05-20 14:22:07 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-20 14:22:07 +1000 |
| commit | 0cc1a4fad1cb43b6e262bbdc3b0dc1a6b020f0df (patch) | |
| tree | 73ff0f061fa53525448a7313a0c9ca811ac33c5a /.github/workflows | |
| parent | 0bf54878a93b7c9908a123cb317cc33e671b8491 (diff) | |
Updated deploy.yml to trigger on website publish (#421)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/deploy.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f9ed5469..899a6743 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,13 +4,12 @@ on: push: branches: ["prod"] workflow_dispatch: - workflow_run: - workflows: ["Publish website docker image"] - types: [completed] + repository_dispatch: + types: [publish-website-completed] jobs: deploy-app: - if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name != 'workflow_run' }} + if: ${{ github.event_name != 'repository_dispatch' || github.event.action == 'publish-completed' }} runs-on: ubuntu-22.04 steps: - name: Create SSH key |
