Skip to content

Commit

Permalink
Merge pull request #55 from elbeno/update-workflow
Browse files Browse the repository at this point in the history
⬆️ 👷 Update workflows for ubuntu-24.04
  • Loading branch information
lukevalenty authored Oct 9, 2024
2 parents 6947024 + 27c9df0 commit 2e033c7
Show file tree
Hide file tree
Showing 10 changed files with 262 additions and 101 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/asciidoctor-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
configure:
name: Configure Github Pages Publishing
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04
outputs:
enable_publish: ${{ steps.check.outputs.isfork == 'NO' }}
steps:
Expand All @@ -30,18 +30,17 @@ jobs:
build:
needs: configure
name: Build Documentation
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04
steps:
- name: Checkout source
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 18
node-version: 20
- name: Install Mermaid
run: |
sudo npm install -g @mermaid-js/[email protected]
node /usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer/install.js
sudo npm install -g @mermaid-js/[email protected]
- name: Install asciidoctor
run: |
sudo apt update
Expand Down Expand Up @@ -73,7 +72,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04
steps:
- name: Deploy to github pages
id: deployment
Expand Down
Loading

0 comments on commit 2e033c7

Please sign in to comment.