Skip to content

Instantly share code, notes, and snippets.

@techforum-repo
Created September 3, 2021 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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:testpassword@github.com/test/test.git
- git checkout dev
- git pull
- git push sync dev
uat:
- step:
script:
- git remote add sync https://testuser:testpassword@github.com/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