From e485d315f0d55443e46b00950aff11587778f33e Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 20 Dec 2022 15:07:08 +0530 Subject: [PATCH] [ci] Fix secret usage --- .github/workflows/trigger-deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/trigger-deploy.yml b/.github/workflows/trigger-deploy.yml index b4ab2dce..910b56fa 100644 --- a/.github/workflows/trigger-deploy.yml +++ b/.github/workflows/trigger-deploy.yml @@ -1,6 +1,6 @@ # This is triggered on every push to the main branch # and triggers a new deploy on the eol website. -name: Trigger Deploy to the endoflife.date website +name: Deploy website on: push: branches: @@ -12,5 +12,7 @@ jobs: environment: production steps: - name: Trigger Deploy on Netlify + env : + NETLIFY_BUILD_HOOK_URL: '${{secrets.NETLIFY_BUILD_HOOK_URL}}' run: curl -X POST -d {} "$NETLIFY_BUILD_HOOK_URL"