Merge branch 'master' of ssh://gitea.frontblock.me:2222/fb-vendor/admin
This commit is contained in:
+1
-3
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user