Skip to content

Commit

Permalink
Update GitHub CD Actions (#437)
Browse files Browse the repository at this point in the history
Removes warning and speeds up poetry install.
  • Loading branch information
alan-cooney authored Oct 22, 2023
1 parent 53c95f3 commit bf10751
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ jobs:
name: ${{ github.event_name == 'pull_request' && 'Check Build Docs' || 'Build Docs' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Install pandoc
uses: awalsh128/cache-apt-pkgs-action@latest
with:
Expand All @@ -34,7 +35,7 @@ jobs:
- name: Build Docs
run: poetry run build-docs
- name: Upload Docs Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: documentation
path: docs/build
Expand All @@ -46,9 +47,9 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build-docs
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Download Docs Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: documentation
path: docs/build
Expand Down

0 comments on commit bf10751

Please sign in to comment.