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