Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- branch_name=$(git symbolic-ref --short HEAD)
- if [ "$branch_name" == 'dev' ] || [ "$branch_name" == 'staging' ]
- then
- git commit --allow-empty -m 'empty commit to trigger deployment'
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement