Skip to content

Commit

Permalink
feat: enable deployment to dev account
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Basty committed Nov 6, 2023
1 parent 7dc5b4e commit d95f308
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/dispatch_deploy_dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/ci_workflows/.github/workflows/sub-ci.yml@1.0.0
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 }}

0 comments on commit d95f308

Please sign in to comment.