From 22d56a17359c8e78a5efa6a681025bb247b87be8 Mon Sep 17 00:00:00 2001 From: Juan Carlos Farah Date: Tue, 20 Feb 2024 10:02:59 +0100 Subject: [PATCH] build: update deployment scripts --- .github/workflows/deploy-prod.yml | 9 +++++++++ .github/workflows/deploy-stage.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 9ded562..af4b70d 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -6,6 +6,15 @@ on: repository_dispatch: types: [production-deployment] + # Allows to run the workflow manually from the Actions tab + workflow_dispatch: + inputs: + tag: + description: Tag or branch to deploy + required: false + default: main + type: string + jobs: deploy-app: name: Deploy to production diff --git a/.github/workflows/deploy-stage.yml b/.github/workflows/deploy-stage.yml index b4c9ccc..7824e76 100644 --- a/.github/workflows/deploy-stage.yml +++ b/.github/workflows/deploy-stage.yml @@ -6,6 +6,15 @@ on: repository_dispatch: types: [staging-deployment] + # Allows to run the workflow manually from the Actions tab + workflow_dispatch: + inputs: + tag: + description: Tag or branch to deploy + required: false + default: main + type: string + jobs: deploy-app: name: Deploy to staging