Use secret in deploy workflow

This commit is contained in:
Sebastian Speitel 2020-01-30 12:31:53 +01:00 committed by GitHub
parent 50a9dd1db5
commit bf6c3eff73
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}"