Skip to content

Increase download-artifact version #7

Increase download-artifact version

Increase download-artifact version #7

Workflow file for this run

name: Doxygen
on:
push:
permissions:
contents: read
pages: write
id-token: write
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Create repo files
run: |
doxygen ./Doxyfile
cd dist/html
tar -cvf ../../pages.tar ./*
- name: Upload repo artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: pages.tar
publish_repo:
if: contains(github.ref,'refs/heads/main')
needs: [build]
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4