Skip to content

Commit

Permalink
fix: github pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ahochsteger committed Aug 22, 2023
1 parent bd3693c commit a9f08c8
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,30 @@ jobs:
name: Deploy Lib
run: npm run deploy
- id: setup-pages
if: ${{ steps.release.outputs.releaseVersion }}
name: Setup Pages
uses: actions/configure-pages@v3
- id: upload-pages
if: ${{ steps.release.outputs.releaseVersion }}
name: Upload Pages
uses: actions/upload-pages-artifact@v2
with:
path: "build/docs"
pages:
# See https://github.com/actions/starter-workflows/blob/main/pages/static.yml
runs-on: ubuntu-latest
needs: build
if: ${{ needs.build.outputs.releaseVersion }}
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
steps:
- name: Deploy Pages
if: ${{ steps.release.outputs.releaseVersion }}
id: deploy-pages
uses: actions/deploy-pages@v2

1 comment on commit a9f08c8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 94.9% 5977/6298
🟢 Branches 86.97% 681/783
🟢 Functions 93.84% 274/292
🟢 Lines 94.9% 5977/6298

Test suite run success

226 tests passing in 43 suites.

Report generated by 🧪jest coverage report action from a9f08c8

Please sign in to comment.