We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b4c7db + 15676d0 commit 9226477Copy full SHA for 9226477
action.yml
@@ -10,6 +10,18 @@ inputs:
10
runs:
11
using: composite
12
steps:
13
+ - name: Check that GitHub Pages is correctly configured
14
+ env:
15
+ GH_TOKEN: ${{ github.token }}
16
+ shell: bash
17
+ run: |
18
+ if ! gh api "repos/${{ github.repository }}/pages" | jq --exit-status '.build_type == "workflow"'
19
+ then
20
+ echo -n "Check that Pages is enabled, with the source set to GitHub Actions, in the " >> "$GITHUB_STEP_SUMMARY"
21
+ echo "[repository settings](https://github.com/${{ github.repository }}/settings/pages)." >> "$GITHUB_STEP_SUMMARY"
22
+ exit 1
23
+ fi
24
+
25
- uses: astral-sh/setup-uv@v6
26
with:
27
cache-dependency-glob: |
0 commit comments