Skip to content

Commit 02366db

Browse files
committed
Add deploy handling
1 parent f8cb7d3 commit 02366db

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/deploy.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- release
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Request Deploy
13+
id: request
14+
uses: fjogeleit/http-request-action@v1
15+
with:
16+
url: ${{ secrets.DEPLOY_URL }}
17+
- name: Show Response
18+
run: |
19+
echo ${{ fromJson(steps.request.outputs.response).success }}
20+
echo ${{ fromJson(steps.request.outputs.response).message }}

0 commit comments

Comments
 (0)