Skip to content

Commit

Permalink
Updated actions/configure-pages to v5 to address Node16 deprecation. …
Browse files Browse the repository at this point in the history
…Run deploy job on ubuntu-latest. Removed environment section from build job. Added explicity concurrency rules.
  • Loading branch information
esabol committed Apr 6, 2024
1 parent 7b220b5 commit d6a99f2
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ permissions:
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between any
# in-progress and latest queued runs. However, do not cancel in-progress runs
# as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:

name: Build Docs

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-20.04

steps:
Expand Down Expand Up @@ -66,18 +69,21 @@ jobs:
run: make -C docs dirhtml

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Upload Artifacts
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/build/dirhtml'

deploy:

name: Deploy Docs

# Add a dependency on the build job
needs: build

name: Deploy Docs
runs-on: ubuntu-latest

environment:
name: github-pages
Expand Down

0 comments on commit d6a99f2

Please sign in to comment.