Merge pull request #8 from SebastianSpeitel/patch-4
Use secret in deploy workflow
This commit is contained in:
commit
10e37bfa0e
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -3,9 +3,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -14,4 +11,6 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: http request
|
- name: http request
|
||||||
run: curl https://deploy.walduni.de
|
env:
|
||||||
|
secret: ${{ secrets.DeploySecret }}
|
||||||
|
run: curl "https://deploy.walduni.de?secret=${secret}"
|
||||||
|
Loading…
Reference in New Issue
Block a user