Skip to content

Commit

Permalink
Test deploy in prod using PR labels
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinebrasil authored Dec 7, 2024
1 parent a2dc31f commit df84c59
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ This job runs on `ubuntu-latest` and is executed if the event is an issue commen
## Deployment Logic

The deployment logic varies based on the environment:
- **Development Environment**: Triggered by issue comments containing `/deploy-dev`.
- **Production Environment**: Triggered by pushes to the `main` branch.
- **Development Environment**: Triggered by issue comments containing `/deploy-dev`.
- **Production Environment**: Triggered by pushes to the `main` branch.

The deployment process includes:
- Setting the environment and kustomize directory.
- Checking and creating the namespace if it doesn't exist.
- Updating the image in the kustomize configuration.
- Applying the Kubernetes resources using `kubectl`.
- Setting the environment and kustomize directory.
- Checking and creating the namespace if it doesn't exist.
- Updating the image in the kustomize configuration.
- Applying the Kubernetes resources using `kubectl`.

0 comments on commit df84c59

Please sign in to comment.