Skip to content

Commit

Permalink
build: update deployment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosfarah committed Feb 20, 2024
1 parent 4f8ba69 commit 22d56a1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22d56a1

Please sign in to comment.