From ff10368c6c938e403849eec32ecfc9a5e6025213 Mon Sep 17 00:00:00 2001 From: ismay Date: Tue, 14 Nov 2023 14:19:19 +0100 Subject: [PATCH] fix: use secret directly --- .github/workflows/rebuild-docs.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rebuild-docs.yml b/.github/workflows/rebuild-docs.yml index 3e6f2fef..c7bdce2b 100644 --- a/.github/workflows/rebuild-docs.yml +++ b/.github/workflows/rebuild-docs.yml @@ -1,4 +1,4 @@ -name: 'rebuild developer docs' +name: 'dhis2: rebuild developer docs' on: push: @@ -12,9 +12,7 @@ concurrency: cancel-in-progress: true jobs: - publish-docs: + rebuild-docs: runs-on: ubuntu-latest steps: - - run: curl -X POST -d {} https://api.netlify.com/build_hooks/"$NETLIFY_DEVELOPER_DOCS_TOKEN" - env: - NETLIFY_DEVELOPER_DOCS_TOKEN: ${{ secrets.NETLIFY_DEVELOPER_DOCS_TOKEN }} + - run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ NETLIFY_DEVELOPER_DOCS_TOKEN }}