Skip to content

Instantly share code, notes, and snippets.

@techforum-repo
Last active February 18, 2021 15:20
Show Gist options
  • Save techforum-repo/adc4241fb0d8ef82ee5314d700c77fc1 to your computer and use it in GitHub Desktop.
Save techforum-repo/adc4241fb0d8ef82ee5314d700c77fc1 to your computer and use it in GitHub Desktop.
image: atlassian/default-image:2
pipelines:
branches:
dev:
- step:
script:
- git remote add sync https://$CM_SYNC_USER_NAME:$CM_SYNC_USER_ACCESS_TOKEN@git.cloudmanager.adobe.com/xxxx/xxxx/
- git checkout dev
- git pull
- git push sync dev
dev1:
- step:
script:
- git remote add sync https://$CM_SYNC_USER_NAME:$CM_SYNC_USER_ACCESS_TOKEN@git.cloudmanager.adobe.com/xxxx/xxxx/
- git checkout dev1
- git pull
- git push sync dev1
uat:
- step:
script:
- git remote add sync https://$CM_SYNC_USER_NAME:$CM_SYNC_USER_ACCESS_TOKEN@git.cloudmanager.adobe.com/xxxx/xxxx/
- git checkout uat
- git pull
- git push sync uat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment