Merge branch 'master' of ssh://gitea.frontblock.me:2222/fb-vendor/admin

This commit is contained in:
peter
2019-08-27 22:35:05 +02:00
7 changed files with 64 additions and 2766 deletions
+1 -3
View File
@@ -37,15 +37,13 @@ steps:
commands:
- echo ${DRONE_BUILD_CREATED}
- name: deploy static files
- name: deploy Update
image: node:12
commands:
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
- git clone https://gitea.frontblock.me/fb-dist/${DRONE_REPO_NAME}.git
- mv ./${DRONE_REPO_NAME}/.git ./bak
- rm -rf ./${DRONE_REPO_NAME}/*
- mv ./bak ./${DRONE_REPO_NAME}/.git
- cp -r ./dist/* ./${DRONE_REPO_NAME}
- cp -r ./static ./${DRONE_REPO_NAME}
- ls ./${DRONE_REPO_NAME}