From bf6c3eff73c931ddf566b469e45c64c565a6a32f Mon Sep 17 00:00:00 2001 From: Sebastian Speitel Date: Thu, 30 Jan 2020 12:31:53 +0100 Subject: [PATCH] Use secret in deploy workflow --- .github/workflows/deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 92eed34..f6a73ec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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}"