From ecc4b72d5fe669c16e53e4606ff4988d8352e918 Mon Sep 17 00:00:00 2001 From: Xavier Basty Date: Mon, 6 Nov 2023 16:12:30 +0100 Subject: [PATCH] feat: enable deployment to dev account --- .github/workflows/dispatch_deploy_dev.yaml | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/dispatch_deploy_dev.yaml diff --git a/.github/workflows/dispatch_deploy_dev.yaml b/.github/workflows/dispatch_deploy_dev.yaml new file mode 100644 index 00000000..82ad7045 --- /dev/null +++ b/.github/workflows/dispatch_deploy_dev.yaml @@ -0,0 +1,48 @@ +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 }}