Skip to content

Commit 76d910f

Browse files
committed
Add depoy workflow to prod as well
Turns out it doesn't execute from main even though from what I can tell it's supposed to. So add a copy to the prod branch, and we'll need to keep these in sync. Hopefully easy as it shouldn't change much.
1 parent 10eff49 commit 76d910f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- prod
8+
9+
jobs:
10+
deployment:
11+
runs-on: ubuntu-latest
12+
environment: ${{ github.ref_name }}
13+
steps:
14+
- name: Trigger deploy
15+
run: |
16+
curl -fsS -X POST ${{ secrets.HOOKURL }} -H "X-Key: ${{ secrets.HOOKSECRET }}"

0 commit comments

Comments
 (0)