Skip to content

Manual redeploy to environment #23

Manual redeploy to environment

Manual redeploy to environment #23

name: Manual redeploy to environment
on:
workflow_dispatch:
inputs:
deployment-environment:
required: true
type: choice
options:
- dev
- prd
- stg
default: prd
description: Environment
tag:
required: true
default: "latest"
type: string
description: "Docker tag (quay.io)"
jobs:
deployment:
if: ${{ inputs.deployment-environment }}
name: "Deploy to: ${{ inputs.deployment-environment }}"
runs-on: ubuntu-latest
environment: ${{ inputs.deployment-environment }}
steps:
- name: Trigger deployment
id: deploy
uses: decentraland/dcl-deploy-action@main
with:
dockerImage: "quay.io/decentraland/deployments-to-sqs:${{ inputs.tag }}"
serviceName: "deployments-to-sqs"
env: ${{ inputs.deployment-environment }}
token: ${{ secrets.GITHUB_TOKEN }}