From b6e1a1e761dec80067d293b31fc544b95c2c2fde Mon Sep 17 00:00:00 2001 From: "Vinicius D. Cerutti" <51954708+viniciusdc@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:24:13 -0300 Subject: [PATCH 1/3] Update GitHub Actions workflow for website deployment --- .github/workflows/deploy-website.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 4f6cbe235..82882d9af 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -3,22 +3,22 @@ name: Deploy Nebari website on: workflow_dispatch: schedule: - # * 10:37 every day – 37 just to not trigger exactly at 10:30 like many other; - # 10:37 UTC is 6:30am EST is a bit before the beginning of the day in the US, - - cron: "37 10 * * *" + - cron: "37 10 * * *" # 10:37 UTC daily jobs: build_site: runs-on: ubuntu-latest environment: docs-prod - name: "Trigger Netlify build" steps: - name: Check out repository 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Trigger Netlify build 🚀 - uses: wei/curl@v1.1.1 + - name: Trigger Netlify build 🚀 env: - WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }} - with: - args: -X POST ${WEBHOOK} + NETLIFY_WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }} + run: | + # Extra safety: mask the value in logs even if it somehow appears + echo "::add-mask::$NETLIFY_WEBHOOK" + + # Hit the hook without printing URL or body; fail on HTTP errors + curl -fsS -X POST "$NETLIFY_WEBHOOK" -o /dev/null From 21efe5bb663ba20ac62ef529008b8d8d84d1cc47 Mon Sep 17 00:00:00 2001 From: "Vinicius D. Cerutti" <51954708+viniciusdc@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:28:44 -0300 Subject: [PATCH 2/3] Update .github/workflows/deploy-website.yml --- .github/workflows/deploy-website.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 82882d9af..ae622669c 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -3,6 +3,8 @@ name: Deploy Nebari website on: workflow_dispatch: schedule: + # * 10:37 every day – 37 just to not trigger exactly at 10:30 like many other; + # 10:37 UTC is 6:30am EST is a bit before the beginning of the day in the US, - cron: "37 10 * * *" # 10:37 UTC daily jobs: From 35def943badf53e581bd0ff6ff39952588c9b4bb Mon Sep 17 00:00:00 2001 From: viniciusdc Date: Wed, 12 Nov 2025 14:31:13 -0300 Subject: [PATCH 3/3] revert with extra flags --- .github/workflows/deploy-website.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index ae622669c..94c1b166e 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -17,10 +17,9 @@ jobs: - name: Trigger Netlify build 🚀 env: - NETLIFY_WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }} - run: | - # Extra safety: mask the value in logs even if it somehow appears - echo "::add-mask::$NETLIFY_WEBHOOK" - - # Hit the hook without printing URL or body; fail on HTTP errors - curl -fsS -X POST "$NETLIFY_WEBHOOK" -o /dev/null + WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }} + uses: wei/curl@v1.1.1 + with: + # Use Actions interpolation (not ${WEBHOOK}). GitHub will mask the secret in logs. + # -f: fail on HTTP errors, -sS: silent but show errors, -o /dev/null: drop body + args: -fsS -X POST ${{ env.WEBHOOK }} -o /dev/null