summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml7
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