diff --git a/.github/workflows/gh-pages-deploy.yaml b/.github/workflows/gh-pages-deploy.yaml index 5b524f6..1044250 100644 --- a/.github/workflows/gh-pages-deploy.yaml +++ b/.github/workflows/gh-pages-deploy.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.x + python-version: 3.12 - name: Setup Python run: | python -m venv ./venv --clear @@ -20,6 +20,7 @@ jobs: run: | source ./venv/bin/activate ./build.sh + test -f ./docs/index.html # sanity check - name: Deploy to GH Pages run: | pip install ghp-import diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index e6bce9e..db3c1df 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -19,7 +19,7 @@ jobs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: 3.x + python-version: 3.12 - name: Setup Python run: | @@ -31,6 +31,7 @@ jobs: run: | source ./venv/bin/activate bash ./build.sh + test -f ./docs/index.html # sanity check - name: Save PR Number run: echo ${{ github.event.number }} > ./docs/pr-number.txt