Skip to content

Add workflow for deploying to a staging website#1704

Closed
brandonpayton wants to merge 4 commits intotrunkfrom
add-deploy-to-staging-workflow
Closed

Add workflow for deploying to a staging website#1704
brandonpayton wants to merge 4 commits intotrunkfrom
add-deploy-to-staging-workflow

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

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant