remove old dist stuff

This commit is contained in:
peter
2019-08-27 22:11:44 +02:00
parent 162427ba0e
commit 6b81e95215
+2 -1
View File
@@ -48,12 +48,13 @@ steps:
- mv ./bak ./${DRONE_REPO_NAME}/.git - mv ./bak ./${DRONE_REPO_NAME}/.git
- cp -r ./dist/* ./${DRONE_REPO_NAME} - cp -r ./dist/* ./${DRONE_REPO_NAME}
- cp -r ./static ./${DRONE_REPO_NAME} - cp -r ./static ./${DRONE_REPO_NAME}
- ls ./${DRONE_REPO_NAME}
- cd ./${DRONE_REPO_NAME} - cd ./${DRONE_REPO_NAME}
- git add -A - git add -A
- git commit --allow-empty -m "drone tagged as version ${DRONE_TAG}" - git commit --allow-empty -m "drone tagged as version ${DRONE_TAG}"
- git tag ${DRONE_TAG} - git tag ${DRONE_TAG}
- git status - git status
- git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fb-dist/${DRONE_REPO_NAME}.git master ${DRONE_TAG} --force - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fb-dist/${DRONE_REPO_NAME}.git master ${DRONE_TAG}
environment: environment:
GIT_USER: GIT_USER:
from_secret: git_user from_secret: git_user