4 Commits

Author SHA1 Message Date
monlor
afd444a45f 2020-03-06 16:08:36 2020-03-06 16:08:36 +08:00
monlor
8721073e15 2020-03-06 15:57:27 2020-03-06 15:57:27 +08:00
monlor
38e6e5beec 2020-03-06 15:50:15 2020-03-06 15:50:15 +08:00
monlor
9c1a15900c 2020-03-06 15:31:51 2020-03-06 15:31:51 +08:00
3 changed files with 14 additions and 5 deletions

View File

@@ -7,12 +7,18 @@ on:
- master - master
- test - test
- dev - dev
tags-ignore:
- deploy-*
- test-*
- master-*
ignore-paths: ignore-paths:
- '.github' - '.github'
- 'README.md' - 'README.md'
pull_request: pull_request:
branchs: branchs:
- master - master
- test
- dev
jobs: jobs:
publish: publish:

View File

@@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
#copyright by monlor #copyright by monlor
clear clear
logsh() { logsh() {
# 输出信息到/tmp/messages和标准输出 # 输出信息到/tmp/messages和标准输出

View File

@@ -76,9 +76,12 @@ pack() {
done done
gerneral_applist gerneral_applist
mkdir -p ${pack_dir}/appstore 2> /dev/null test ! -d ${pack_dir}/appstore && mkdir -p ${pack_dir}/appstore
cp -rf appsbin ${pack_dir}/ test ! -d ${pack_dir}/temp && mkdir -p ${pack_dir}/temp
cp -rf temp ${pack_dir}/ test ! -d ${pack_dir}/appsbin && mkdir -p ${pack_dir}/appsbin
cp -rf appsbin/* ${pack_dir}/appsbin/
cp -rf temp/* ${pack_dir}/temp/
cp -rf install.sh ${pack_dir}/ cp -rf install.sh ${pack_dir}/
mv -f appstore/* ${pack_dir}/appstore/ mv -f appstore/* ${pack_dir}/appstore/
mv -f applist.txt ${pack_dir}/ mv -f applist.txt ${pack_dir}/
@@ -131,7 +134,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 lfs push "$3" --all git lfs push "$3" --all
git push "$3" git push "$3"
} }