Skip to content

Instantly share code, notes, and snippets.

@techforum-repo
Last active February 18, 2021 15:21
Show Gist options
  • Save techforum-repo/a26405b3d1ce544abe4269d8ce239f0b to your computer and use it in GitHub Desktop.
Save techforum-repo/a26405b3d1ce544abe4269d8ce239f0b to your computer and use it in GitHub Desktop.
image: atlassian/default-image:2
pipelines:
branches:
dev:
- step:
script:
- git remote add sync git@github.com:techforum-repo/test1.git
- git checkout dev
- git pull
- git push sync dev
dev1:
- step:
script:
- git remote add sync git@github.com:techforum-repo/test1.git
- git checkout dev1
- git pull
- git push sync dev1
uat:
- step:
script:
- git remote add sync git@github.com:techforum-repo/test1.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