chore(main): release guardian-prover-health-check-ui 0.2.1 #367
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Guardians UI CI/CD | |
on: | |
push: | |
tags: | |
- "bridge-ui-v*" | |
pull_request: | |
paths: | |
- "packages/guardian-prover-health-check-ui/**" | |
branches-ignore: | |
- release-please--branches--** | |
jobs: | |
build-and-test: | |
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }} | |
uses: ./.github/workflows/guardian-prover-health-check-ui--ci.yml | |
# Deployment name follow the pattern: deploy_<appname(guardian-prover-health-check-ui)>_<network(devnet|hekla|mainnet)>_<environment(preview|production)> | |
# deploy_guardians-ui_devnet_preview: | |
# if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') }} | |
# needs: build-and-test | |
# uses: ./.github/workflows/repo--vercel-deploy.yml | |
# with: | |
# environment: "preview" | |
# flags: "" | |
# secrets: | |
# vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_INTERNAL }} | |
# vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
# vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
deploy_guardians-ui_hekla_preview: | |
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "preview" | |
flags: "" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_HEKLA }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
deploy_guardians-ui_mainnet_preview: | |
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "preview" | |
flags: "" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_MAINNET }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
deploy_guardians-ui_hekla_production: | |
if: ${{ startsWith(github.ref, 'refs/tags/guardians-ui-v') }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "production" | |
flags: "--prod" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_HEKLA }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} | |
deploy_guardians-ui_mainnet_production: | |
if: ${{ startsWith(github.ref, 'refs/tags/guardians-ui-v') }} | |
needs: build-and-test | |
uses: ./.github/workflows/repo--vercel-deploy.yml | |
with: | |
environment: "production" | |
flags: "--prod" | |
secrets: | |
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_UI_MAINNET }} | |
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel_token: ${{ secrets.VERCEL_TOKEN }} |