Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 96758a1

Browse files
committedFeb 7, 2025
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
 

‎.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 -fsS -X POST ${{ secrets.HOOKURL }} -H "X-Key: ${{ secrets.HOOKSECRET }}"

0 commit comments

Comments
 (0)
Please sign in to comment.