Skip to content

Commit

Permalink
fix(package): Separated out pages publish because write permissions n…
Browse files Browse the repository at this point in the history
…eeded.
  • Loading branch information
acederberg committed Aug 20, 2024
1 parent becb4ea commit cc10573
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/commit_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,19 +222,16 @@ 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
uses: actions/upload-pages-artifact@v3
with:
path: './coverage-report'

- name: Deploy to GitHub Pages
id: coverage-report-pages
uses: actions/deploy-pages@v4

# --------------------------------------------------------------------- #
# NOTE: Finalize.
#
Expand All @@ -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




0 comments on commit cc10573

Please sign in to comment.