Skip to content

Commit

Permalink
harden deploy (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhouweling authored Dec 1, 2024
1 parent 0adb166 commit 61688b8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Deploy

on:
workflow_dispatch:
inputs:
debug:
description: "Debug the event payload"
required: false
type: boolean
workflow_run:
workflows: [Build]
types:
- completed
types: [completed]
branches: [main]

jobs:
deploy:
Expand All @@ -14,6 +20,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Debug
if: ${{ github.event.inputs.debug == true }}
run: ${{ tojson(github.event) }}
shell: cat {0}

Expand Down

0 comments on commit 61688b8

Please sign in to comment.