Skip to content

Upload gh pages artifact #12

Upload gh pages artifact

Upload gh pages artifact #12

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- asio
paths:
- '**.h'
- '**.md'
- '**doxygen.yml'
- '**doxyfile'
name: Build doxygen documentation
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Doxygen and Dot
run: sudo apt install doxygen graphviz
- name: Run doxygen
run: doxygen doxyfile
artifact:
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: docs/html
deploy:
runs-on: ubuntu-latest
needs:
- fix-permissions

Check failure on line 38 in .github/workflows/doxygen.yml

View workflow run for this annotation

GitHub Actions / Build doxygen documentation

Invalid workflow file

The workflow is not valid. .github/workflows/doxygen.yml (Line: 38, Col: 7): Job 'deploy' depends on unknown job 'fix-permissions'.
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v2