1
This commit is contained in:
@@ -10,27 +10,27 @@ variables:
|
||||
MasterDockerImage: "${Ali_Docker_Registry}/${Namespace}/${MasterPackageName}"
|
||||
|
||||
|
||||
sync_to_github:
|
||||
stage: sync
|
||||
image: alpine/git
|
||||
script:
|
||||
- git config --global user.email "ci@example.com"
|
||||
- git config --global user.name "GitLab CI"
|
||||
- git remote add github https://oauth2:${GITHUB_TOKEN}@github.com/8720826/hyrule.git
|
||||
- git push github --all
|
||||
- git push github --tags
|
||||
# sync_to_github:
|
||||
# stage: sync
|
||||
# image: alpine/git
|
||||
# script:
|
||||
# - git config --global user.email "ci@example.com"
|
||||
# - git config --global user.name "GitLab CI"
|
||||
# - git remote add github https://oauth2:${GITHUB_TOKEN}@github.com/8720826/hyrule.git
|
||||
# - git push github --all
|
||||
# - git push github --tags
|
||||
|
||||
sync_to_gitee:
|
||||
stage: sync
|
||||
image: alpine/git
|
||||
script:
|
||||
- git config --global user.email "ci@example.com"
|
||||
- git config --global user.name "GitLab CI"
|
||||
- git remote add gitee https://oauth2:${GITEE_TOKEN}@gitee.com/q8720826/hyrule.git
|
||||
- git push gitee --all
|
||||
- git push gitee --tags
|
||||
only:
|
||||
- master
|
||||
# sync_to_gitee:
|
||||
# stage: sync
|
||||
# image: alpine/git
|
||||
# script:
|
||||
# - git config --global user.email "ci@example.com"
|
||||
# - git config --global user.name "GitLab CI"
|
||||
# - git remote add gitee https://oauth2:${GITEE_TOKEN}@gitee.com/q8720826/hyrule.git
|
||||
# - git push gitee --all
|
||||
# - git push gitee --tags
|
||||
# only:
|
||||
# - master
|
||||
|
||||
|
||||
check-merge-target:
|
||||
|
||||
Reference in New Issue
Block a user