From 3cec58da9b3721f36f080dbcfd883f92ac39f240 Mon Sep 17 00:00:00 2001 From: infogulch Date: Thu, 8 Jul 2021 12:40:37 -0500 Subject: [PATCH] Fix workflow secret reference --- .github/workflows/webhook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/webhook.yaml b/.github/workflows/webhook.yaml index c2211c7..a3af8ea 100644 --- a/.github/workflows/webhook.yaml +++ b/.github/workflows/webhook.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - run: | - curl -X POST -H "Authorization: token ${GH_WORKFLOW_PAT}" -H "Content-Type: application/json" \ + curl -X POST -H "Authorization: token ${{ secrets.GH_WORKFLOW_PAT }}" -H "Content-Type: application/json" \ https://api.github.com/repos/infogulch/index/dispatches \ -d '{"event_type": "notebooks_push"}'