Skip to content

Commit

Permalink
Merge pull request #634 from IntersectMBO/chore/633-wrong-automatic-d…
Browse files Browse the repository at this point in the history
…eployment-workflow-configuration

[#633] chore: change execution of the deployment actions
  • Loading branch information
MSzalowski authored Apr 5, 2024
2 parents 45226ed + bcf73cc commit 6f5cf33
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-and-deploy-beta.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Build and deploy GovTool to BETA server
run-name: Deploy by @${{ github.actor }}

# That should be executed on create: tag event
on:
push:
branches:
- main
workflow_dispatch:

env:
ENVIRONMENT: "beta"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Build and deploy GovTool to STAGING server
run-name: Deploy by @${{ github.actor }}

on:
push:
pull_request:
branches:
- staging
types:
- closed

env:
ENVIRONMENT: "staging"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Build and deploy GovTool to TEST server
run-name: Deploy by @${{ github.actor }}

on:
push:
pull_request:
branches:
- test
types:
- closed

env:
ENVIRONMENT: "test"
Expand Down

0 comments on commit 6f5cf33

Please sign in to comment.