Skip to content

Commit

Permalink
update to latest ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Aug 25, 2023
1 parent ae1e077 commit 06953f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ on:

jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install pandoc and doxygen
- name: Install pandoc and doxygen
run: |
sudo apt install pandoc doxygen
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'

- name: Upgrade pip
run: |
Expand All @@ -31,7 +31,7 @@ jobs:
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand All @@ -47,7 +47,7 @@ jobs:
GITHUB_BRANCH: 'main'
run: ./deploy_docs_action.sh

- name: Build docs
- name: Build docs
if: ${{ endsWith(github.ref, 'development') }}
env:
GITHUB_BRANCH: 'development'
Expand All @@ -58,4 +58,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
keep_files: true
keep_files: true

0 comments on commit 06953f0

Please sign in to comment.