github-action-wpe-site-deploy
github-action-wpe-site-deploy copied to clipboard
github action attempts push when Site Restore is happening
Describe the bug There is currently no safeguards to prevent github action from attempting to push changes to host that is concurrently being restored / pushed from other action eg Dashboard site push.
The consequence is that both fail and site goes.
You can call this a bug or a feature request to make github action for deploy / push to Fail with descriptive message if host is busy restoring.
To reproduce
- Start a Push from one site to another [Destination] ( Or a restore from backup)
- Initiate a githug action to [Destination] (with whatever triggers the action in your CD)
- Watch the github action fail
- Some point later will recieve notification of Step 1 failing as well
Expected behavior
Prevent (step 2) from attempting to write anything to host
Build Output & Screenshots
Optionally add the relevant build output and screenshots to help explain your problem.
Version information
- Action version: 3.2.4
- Git version: x.x.x
- WordPress version: 6.7.1
- Operating system: ubuntu-latest
Additional context
Add any other context about the problem here.