Skip to content

Instantly share code, notes, and snippets.

@techforum-repo
Created September 3, 2021 19:11
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/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: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