-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Is your enhancement related to a problem? Please describe.
While implementing this action in a mono-repo setup for the Performance Lab plugin, we wanted to be able to do a dry run of the deployment workflow we created without actually pushing the committed changes to the WordPress SVN repo. To accomplish this we copied the deploy.sh file from this action into our repo and comment out the commit step while we were testing that our automated build/deploy process was working as expected.
Describe the solution you'd like
What would be better, is if this action supported a new DEBUG or DRY_RUN environment variable, which defaults to false, that would skip the final commit step when set to true. Ex:
if [[ "$DEBUG" != false ]]; then
echo "➤ Committing files..."
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
else
echo "➤ Debug mode: Files not committed."
fimukeshpanchal27 and johnbillion
Metadata
Metadata
Assignees
Labels
type:enhancementNew feature or request.New feature or request.
Type
Projects
Status
No status