-
Notifications
You must be signed in to change notification settings - Fork 6
47 lines (41 loc) · 1.15 KB
/
dispatch_deploy_dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: ⚙️ Deploy to Dev
run-name: "Deploy to Dev: ${{ github.sha }} ➠ ${{ (!inputs.deploy-infra && !inputs.deploy-app) && ' 👀 deploy nothing' || ''}}${{ inputs.deploy-infra && ' ❱❱ infra' || '' }}${{ inputs.deploy-app && ' ❱❱ app' || '' }}"
on:
push:
branches:
- "178-chore-enable-deployments-to-dev-account"
workflow_dispatch:
inputs:
deploy-infra:
description: "Deploy Infra"
default: true
required: true
type: boolean
deploy-app:
description: "Deploy App"
default: true
required: true
type: boolean
concurrency: deploy
permissions:
contents: write
checks: write
id-token: write
packages: write
jobs:
ci:
name: CI
uses: WalletConnect/keys-server/.github/workflows/[email protected]
secrets: inherit
with:
check-infra: true
check-app: true
# cd:
# name: CD
# uses: ./.github/workflows/sub-cd.yml
# secrets: inherit
# with:
# deploy-infra: ${{ inputs.deploy-infra }}
# deploy-app: ${{ inputs.deploy-app }}
# deploy-prod: ${{ inputs.stage == 'prod' }}
# version: ${{ inputs.version }}