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

Add workflow for deploying to a staging website #1704

Closed
wants to merge 4 commits into from

Conversation

brandonpayton
Copy link
Member

Motivation for the change, related issues

When making changes to the website deployment process and hosting code, we can reduce risk to production by testing with a staging environment first.

Implementation details

This PR modifies the production deployment script to take a workflow environment param that can be used to deploy to a different server via SSH. Then it adds a staging workflow to invoke the production workflow with a staging environment.

Testing Instructions (or ideally a Blueprint)

  • Run the staging workflow and confirm it works
  • Run the production workflow and confirm it still works

@brandonpayton brandonpayton had a problem deploying to playground-wordpress-net-wp-cloud-staging August 24, 2024 02:19 — with GitHub Actions Failure
@brandonpayton brandonpayton had a problem deploying to playground-wordpress-net-wp-cloud-staging August 24, 2024 02:29 — with GitHub Actions Failure
@brandonpayton
Copy link
Member Author

I'm running into some issues with this and shouldn't spend more time on it for now. Let's close it and reopen later if needed.

@brandonpayton brandonpayton deleted the add-deploy-to-staging-workflow branch August 24, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant