diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 4da1e659..659aabe5 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -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 \ No newline at end of file + - run: cmake --build build diff --git a/.github/workflows/cmake-build-target-html.yml b/.github/workflows/deploy-pages.yml similarity index 62% rename from .github/workflows/cmake-build-target-html.yml rename to .github/workflows/deploy-pages.yml index 68165f09..0ac4dae9 100644 --- a/.github/workflows/cmake-build-target-html.yml +++ b/.github/workflows/deploy-pages.yml @@ -1,4 +1,4 @@ -name: cmake --build --target html +name: deploy-pages on: push: branches: "main" @@ -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 }} @@ -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