Skip to content

Commit

Permalink
Fix the CI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Jan 20, 2025
1 parent 8d3c5fe commit 91cb536
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -23,10 +23,16 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install python3-pip python3-setuptools python3-wheel --assume-yes --install-recommends
sudo pip3 install -r requirements.txt .
- name: Create the Python virtual environment
run: |
python3 -mvenv venv
source ./venv/bin/activate
pip3 install --requirement requirements.txt .
- name: Build the docs site
run: |
source ./venv/bin/activate
mkdocs build
- name: Upload docs site artifact
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ on:
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get install python3-pip python3-setuptools python3-wheel --assume-yes --install-recommends
sudo pip3 install -r requirements.txt .
- name: Create the Python virtual environment
run: |
python3 -mvenv venv
source ./venv/bin/activate
pip3 install --requirement requirements.txt .
- name: Check for broken redirects
run: ./tools/find-broken-redirects
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.pyc
build
dist
venv
site

!.git*
Expand Down

0 comments on commit 91cb536

Please sign in to comment.