Skip to content

Commit 96758a1

Browse files
committed
Implement github action to deploy to test environment
1 parent f93ddbb commit 96758a1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: .github/workflows/deploy.yaml

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

0 commit comments

Comments
 (0)