mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-03-06 14:03:40
This commit is contained in:
@@ -26,6 +26,7 @@ deploy:branchs:
|
|||||||
- master
|
- master
|
||||||
- test
|
- test
|
||||||
script:
|
script:
|
||||||
|
- apk add git-lfs
|
||||||
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GL_REF}/monlor/mbfiles.git
|
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GL_REF}/monlor/mbfiles.git
|
||||||
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
||||||
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GH_REF}/monlor/mbfiles.git
|
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GH_REF}/monlor/mbfiles.git
|
||||||
@@ -40,6 +41,7 @@ deploy:dev:
|
|||||||
only:
|
only:
|
||||||
- dev
|
- dev
|
||||||
script:
|
script:
|
||||||
|
- apk add git-lfs
|
||||||
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GL_REF}/monlor/mbfiles.git
|
- bash ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GL_REF}/monlor/mbfiles.git
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_NAME}
|
key: ${CI_COMMIT_REF_NAME}
|
||||||
@@ -94,6 +96,7 @@ deploy:master:
|
|||||||
tags:
|
tags:
|
||||||
- deploy-*
|
- deploy-*
|
||||||
script:
|
script:
|
||||||
|
- apk add git-lfs
|
||||||
- bash ./tools/gitsync.sh deploy mbfiles master ${CO_REF}/monlor/mbfiles.git
|
- bash ./tools/gitsync.sh deploy mbfiles master ${CO_REF}/monlor/mbfiles.git
|
||||||
# dependencies:
|
# dependencies:
|
||||||
# - pack:master
|
# - pack:master
|
||||||
@@ -111,6 +114,7 @@ deploy:test:
|
|||||||
tags:
|
tags:
|
||||||
- deploy-*
|
- deploy-*
|
||||||
script:
|
script:
|
||||||
|
- apk add git-lfs
|
||||||
- bash ./tools/gitsync.sh deploy mbfiles test ${CO_REF}/monlor/mbfiles.git
|
- bash ./tools/gitsync.sh deploy mbfiles test ${CO_REF}/monlor/mbfiles.git
|
||||||
# dependencies:
|
# dependencies:
|
||||||
# - pack:master
|
# - pack:master
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ deploy() {
|
|||||||
git add .
|
git add .
|
||||||
git commit -m "$(TZ='Asia/Shanghai' date "+%Y-%m-%d %H:%M:%S")" -a
|
git commit -m "$(TZ='Asia/Shanghai' date "+%Y-%m-%d %H:%M:%S")" -a
|
||||||
fi
|
fi
|
||||||
git push "$3" master:"$2" -f
|
git lfs push "$3" master:"$2" --all
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user