Skip to content

Conversation

@endel
Copy link

@endel endel commented Dec 3, 2025

If the branch name contains special bash characters, such as (, ), |, &, etc, the deploy would fail:

bash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `cd /home/deploy/source && git reset --hard origin/xyz-(example)'

@endel
Copy link
Author

endel commented Dec 3, 2025

(users of GitHub Desktop are more likely to use special characters as branch names)

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.

1 participant