Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alessandro/automatically deploy on stage #144

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

alessandrolomanto
Copy link
Collaborator

Same of #142 for the default branch

Description

This PR adds a step to send a webhook for automatic deployment to the staging environment.

Changes

  • Added a conditional check to run the webhook step only when the push event is on the default branch.
  • Created a JSON file temp.json containing the Docker image version information.
  • Merged the existing config.json with temp.json to create combined_config.json.
  • Sent a POST request to the deployment URL using curl with the combined JSON file.

@p0mvn p0mvn merged commit 7418844 into v23.x Mar 20, 2024
4 of 6 checks passed
@p0mvn p0mvn deleted the alessandro/automatically-deploy-on-stage branch March 20, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants