Skip to content

Commit a981fd1

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

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 15 additions & 0 deletions
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 -sS -X POST ${{ secrets.HOOKURL }} -H "X-Key: ${{ secrets.HOOKSECRET }}"

0 commit comments

Comments
 (0)