Skip to content

feat: get rid of google fonts api #321

feat: get rid of google fonts api

feat: get rid of google fonts api #321

name: CI Preview stand deploy
on:
workflow_dispatch:
inputs:
inventory:
description: inventory to be used for preview stand deploying
default: testnet
required: false
type: choice
options:
- staging-critical
- testnet
pull_request:
types:
[opened, synchronize, reopened, ready_for_review]
branches-ignore:
- main
permissions:
pull-requests: read
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.draft == false }}
name: Build and deploy
steps:
- uses: lidofinance/gh-find-current-pr@v1
id: pr
- name: Set ref
id: ref
run: echo "short_ref=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Preview stand deploying
uses: lidofinance/dispatch-workflow@v1
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
TARGET_REPO: "lidofinance/infra-mainnet"
TARGET: ${{ github.head_ref || steps.ref.outputs.short_ref }}
TARGET_WORKFLOW: "preview_stand_deploy.yaml"
INPUTS_REPO_NAME: ${{ github.repository }}
INPUTS_PR_ID: ${{ steps.pr.outputs.number }}
INPUTS_INVENTORY: "${{ inputs.inventory || 'testnet' }}"