summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlame Sage <chris062689@gmail.com>2019-07-11 04:22:04 +0200
committerGitHub <noreply@github.com>2019-07-11 04:22:04 +0200
commit0b3901bdd0ca918e37730ec8edb85035740bf072 (patch)
tree48af0a1fc1e11ffa75bb5bccceb0efe57adcf1e8
parentMerge pull request #2697 from lioncash/doc (diff)
parentAdd Repository Sync Pipeline (diff)
downloadyuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.tar
yuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.tar.gz
yuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.tar.bz2
yuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.tar.lz
yuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.tar.xz
yuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.tar.zst
yuzu-0b3901bdd0ca918e37730ec8edb85035740bf072.zip
Diffstat (limited to '')
-rw-r--r--.ci/yuzu-repo-sync.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.ci/yuzu-repo-sync.yml b/.ci/yuzu-repo-sync.yml
new file mode 100644
index 000000000..602e298a6
--- /dev/null
+++ b/.ci/yuzu-repo-sync.yml
@@ -0,0 +1,19 @@
+trigger:
+- master
+
+jobs:
+- job: copy
+ displayName: 'Sync Repository'
+ pool:
+ vmImage: 'ubuntu-latest'
+ steps:
+ - script: echo 'https://$(GitUsername):$(GitAccessToken)@dev.azure.com' > $HOME/.git-credentials
+ displayName: 'Load Credentials'
+ - script: git config --global credential.helper store
+ displayName: 'Register Credential Helper'
+ - script: git remote add other $(GitRepoPushChangesURL)
+ displayName: 'Register Repository'
+ - script: git push --force other HEAD:$(GitPushBranch)
+ displayName: 'Update Code'
+ - script: rm -rf $HOME/.git-credentials
+ displayName: 'Clear Cached Credentials'