# Simple workflow for deploying static content to GitHub Pages name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: # Allow one concurrent deployment concurrency: group: "pages" cancel-in-progress: true jobs: # Single deploy job since we're just deploying deploy: # Grant GITHUB_TOKEN the permissions required to make a Pages deployment permissions: contents: read pages: write id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: submodules: 'recursive' ssh-key: ${{ secrets.SSH_KEY }} - name: Install doxygen run: sudo apt install -y doxygen - name: Generate doxygen run: doxygen docs/doxygen.cfg - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: # Upload entire repository path: 'docs/docs' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@main