Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr committed Sep 26, 2023
1 parent 1d4c4f8 commit 0080290
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: jcbhmr/setup-cmake@main
- run: cmake -Bbuild
- run: cmake --build build
- run: cmake --build build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cmake --build --target html
name: deploy-pages
on:
push:
branches: "main"
Expand All @@ -8,13 +8,13 @@ on:
- src/**
- include/**
- docs/**
- .github/workflows/cmake-build-target-html.yml
- .github/workflows/deploy-pages.yml
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
cmake-build-target-html:
deploy-pages:
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
Expand All @@ -24,13 +24,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jcbhmr/setup-cmake@main
- uses: jcbhmr/setup-doxygen@main
- id: configure-pages
uses: actions/configure-pages@v3
- run: echo "BASE_URL=$BASE_URL" >> "$GITHUB_ENV"
env:
BASE_URL: ${{ steps.configure-pages.outputs.base_url }}/
- uses: cpp-actions/setup-doxygen@main
- uses: jcbhmr/configure-pages@jcbhmr-patch-1
- run: cmake -Bbuild
- run: cmake --build build -t html
- uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit 0080290

Please sign in to comment.