From f40b73570abbf7824c7ebba535cc45e3a8788c42 Mon Sep 17 00:00:00 2001 From: CarlGao4 Date: Mon, 23 Sep 2024 07:49:46 +0800 Subject: [PATCH] Fail fast --- .github/workflows/update-gh-page.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-gh-page.yml b/.github/workflows/update-gh-page.yml index 4af3c5d..191d989 100644 --- a/.github/workflows/update-gh-page.yml +++ b/.github/workflows/update-gh-page.yml @@ -7,6 +7,7 @@ on: - "*.md" - "*.py" - "!gh-actions-generate-toc.py" + - ".github/workflows/update-gh-page.yml" workflow_dispatch: workflow_call: secrets: @@ -23,7 +24,7 @@ jobs: steps: - name: Call GitHub Actions API run: | - curl -L \ + curl -L -f \ -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.PAGES_TOKEN }}" \