mirror of
https://github.com/tenrok/maska.git
synced 2026-06-20 20:00:34 +03:00
cicd: enable deploy and change repro link to codepen
This commit is contained in:
@@ -17,5 +17,5 @@ Which steps do we need to take to reproduce the problem?
|
|||||||
|
|
||||||
### Reproduction link
|
### Reproduction link
|
||||||
|
|
||||||
Link to online sandbox with reproduction code.
|
Link to online sandbox (like https://codepen.io) with mimimal reproduction code.
|
||||||
You could use these as starters: [vue](https://stackblitz.com/edit/vue-maska) / [vanilla](https://stackblitz.com/edit/js-maska)
|
You could use this as starter: [vue](https://codepen.io/beholdr/pen/qBGrLjd)
|
||||||
|
|||||||
+32
-32
@@ -32,41 +32,41 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cmd: 'jq .total.statements.pct coverage/coverage-summary.json'
|
cmd: 'jq .total.statements.pct coverage/coverage-summary.json'
|
||||||
|
|
||||||
# badge:
|
badge:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: build
|
needs: build
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: Create badge
|
- name: Create badge
|
||||||
# uses: schneegans/dynamic-badges-action@v1.6.0
|
uses: schneegans/dynamic-badges-action@v1.6.0
|
||||||
# with:
|
with:
|
||||||
# auth: ${{ secrets.GIST_SECRET }}
|
auth: ${{ secrets.GIST_SECRET }}
|
||||||
# gistID: 7f2a04de5e494f9a3820832520ee2562
|
gistID: 7f2a04de5e494f9a3820832520ee2562
|
||||||
# filename: badge.json
|
filename: badge.json
|
||||||
# label: Code Coverage
|
label: Code Coverage
|
||||||
# message: ${{ needs.build.outputs.coverage }}%
|
message: ${{ needs.build.outputs.coverage }}%
|
||||||
# valColorRange: ${{ needs.build.outputs.coverage }}
|
valColorRange: ${{ needs.build.outputs.coverage }}
|
||||||
# maxColorRange: 100
|
maxColorRange: 100
|
||||||
# minColorRange: 0
|
minColorRange: 0
|
||||||
|
|
||||||
# deploy:
|
deploy:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: build
|
needs: build
|
||||||
|
|
||||||
# permissions:
|
permissions:
|
||||||
# pages: write # to deploy to Pages
|
pages: write # to deploy to Pages
|
||||||
# id-token: write # to verify the deployment originates from an appropriate source
|
id-token: write # to verify the deployment originates from an appropriate source
|
||||||
|
|
||||||
# environment:
|
environment:
|
||||||
# name: github-pages
|
name: github-pages
|
||||||
# url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: Upload artifact
|
- name: Upload artifact
|
||||||
# uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
# with:
|
with:
|
||||||
# path: ./docs
|
path: ./docs
|
||||||
|
|
||||||
# - name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
# id: deployment
|
id: deployment
|
||||||
# uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user