2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-23 20:40:35 +03:00

cicd: deploy disabled

This commit is contained in:
Alexander Shabunevich
2024-06-02 16:59:10 +03:00
parent f6149c7cd7
commit c38a05ebf9
+32 -32
View File
@@ -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