Skip to content

Commit

Permalink
separate build and deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ncrescenzio committed Nov 16, 2024
1 parent bc9b702 commit 202dfb1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ concurrency:

jobs:

build-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -37,7 +34,7 @@ jobs:
uses: actions/configure-pages@v5
- name: Install Graphviz
run: sudo apt-get install -y graphviz
- name: Install Doxygen
- name: Install Doxygen 1.12.0
run: |
curl -L -O https://github.com/doxygen/doxygen/releases/download/Release_1_12_0/doxygen-1.12.0.linux.bin.tar.gz
tar -zvxf doxygen-1.12.0.linux.bin.tar.gz
Expand All @@ -50,5 +47,13 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html/

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4

0 comments on commit 202dfb1

Please sign in to comment.