Skip to content

Instantly share code, notes, and snippets.

@techforum-repo
Created September 3, 2021 19:20
Show Gist options
  • Save techforum-repo/5bcb99ea93b48c6c730d25fc7c5ffc6d to your computer and use it in GitHub Desktop.
Save techforum-repo/5bcb99ea93b48c6c730d25fc7c5ffc6d to your computer and use it in GitHub Desktop.
image: atlassian/default-image:2
clone:
depth: 'full'
pipelines:
branches:
dev:
- step:
script:
- git remote add sync https://testuser:[email protected]/test/test.git
- git checkout dev
- git pull
- git push sync dev
uat:
- step:
script:
- git remote add sync https://testuser:[email protected]/test/test.git
- 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