diff --git a/.github/workflows/commit_checks.yaml b/.github/workflows/commit_checks.yaml index a85c0a5..8973658 100644 --- a/.github/workflows/commit_checks.yaml +++ b/.github/workflows/commit_checks.yaml @@ -222,8 +222,9 @@ jobs: --file docker/compose.ci.yaml \ cp server:/home/captura/app/coverage-report ./coverage-report - - name: Configure Pages - uses: actions/configure-pages@v5 + # NOTE: Why? https://github.com/actions/starter-workflows/blob/main/pages/static.yml + # - name: Configure Pages + # uses: actions/configure-pages@v5 - name: Upload Coverage Report. id: coverage-report-upload @@ -231,10 +232,6 @@ jobs: with: path: './coverage-report' - - name: Deploy to GitHub Pages - id: coverage-report-pages - uses: actions/deploy-pages@v4 - # --------------------------------------------------------------------- # # NOTE: Finalize. # @@ -243,10 +240,18 @@ jobs: run: docker compose --file docker/compose.ci.yaml down - # coverage: - # name: PyTest - # runs-on: ubuntu-latest - # steps: + coverage: + needs: pytest + name: PyTest + runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + steps: + - name: Deploy to GitHub Pages + id: coverage-report-pages + uses: actions/deploy-pages@v4 +