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

View File

@ -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}"