Use secret in deploy workflow
This commit is contained in:
parent
50a9dd1db5
commit
bf6c3eff73
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