Merge pull request #8 from SebastianSpeitel/patch-4

Use secret in deploy workflow
This commit is contained in:
Clemens Riese 2020-01-30 12:33:22 +01:00 committed by GitHub
commit 10e37bfa0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -3,9 +3,6 @@ on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
deploy:
@ -14,4 +11,6 @@ jobs:
steps:
- name: http request
run: curl https://deploy.walduni.de
env:
secret: ${{ secrets.DeploySecret }}
run: curl "https://deploy.walduni.de?secret=${secret}"