Skip to content

Lisooo790926 acitvates the actions πŸš€ #47

Lisooo790926 acitvates the actions πŸš€

Lisooo790926 acitvates the actions πŸš€ #47

Workflow file for this run

name: CD-Main
run-name: ${{ github.actor }} acitvates the actions πŸš€
on:
workflow_dispatch:
branches: ['dev', 'prod']
inputs:
build-services:
description: 'build which services'
required: true
default: 'relay-frontend'
type: choice
options:
- relay-frontend
- contract
version:
description: 'current deploy version'
required: true
default: '0.0.1'
env:
description: 'deployment stage'
required: true
default: 'dev'
jobs:
build:
permissions:
contents: 'read'
id-token: 'write'
uses: ./.github/workflows/build-all.yml
with:
build-services: ${{ inputs.build-services }}
version: ${{ inputs.version }}
env: ${{ inputs.env }}
secrets: inherit
frontend:
needs: build
permissions:
contents: 'read'
id-token: 'write'
uses: ./.github/workflows/deploy-frontend.yml
with:
version: ${{ inputs.version }}
env: ${{ inputs.env }}
secrets: inherit
relay:
needs: frontend
permissions:
contents: 'read'
id-token: 'write'
uses: ./.github/workflows/deploy-relay.yml
with:
version: ${{ inputs.version }}
env: ${{ inputs.env }}
secrets: inherit