Skip to content

Instantly share code, notes, and snippets.

@techforum-repo
Created September 3, 2021 19:11
Show Gist options
  • Save techforum-repo/3dbd93d7487b32c56dae5c03c3935c20 to your computer and use it in GitHub Desktop.
Save techforum-repo/3dbd93d7487b32c56dae5c03c3935c20 to your computer and use it in GitHub Desktop.
image: atlassian/default-image:2
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