Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
chore(docs): release coverage to github pages on each merge to master
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Dec 16, 2023
1 parent 89eaeb3 commit 96fb8d7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 44 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,20 @@ on:
- master
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
release:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand Down Expand Up @@ -49,4 +61,15 @@ jobs:
commit_message: "chore(docs): Rebuild docs + coverage [skip ci]"
commit_author: Javier Ribó <elribonazo@gmail.com>
commit_user_name: Javier Ribó
commit_user_email: elribonazo@gmail.com
commit_user_email: elribonazo@gmail.com

- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './packages/database/coverage'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
43 changes: 0 additions & 43 deletions .github/workflows/static.yml

This file was deleted.

0 comments on commit 96fb8d7

Please sign in to comment.