Skip to content

Commit

Permalink
Pin the python version and check if the build actually generated some…
Browse files Browse the repository at this point in the history
…thing.
  • Loading branch information
leMaik committed Oct 29, 2023
1 parent 7d7652f commit b876c4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit b876c4a

Please sign in to comment.