drone adds static files to dist
This commit is contained in:
@@ -44,6 +44,7 @@ steps:
|
|||||||
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR}"
|
||||||
- git clone https://gitea.frontblock.me/fb-dist/${DRONE_REPO_NAME}.git
|
- git clone https://gitea.frontblock.me/fb-dist/${DRONE_REPO_NAME}.git
|
||||||
- cp -r ./dist/* ./${DRONE_REPO_NAME}
|
- cp -r ./dist/* ./${DRONE_REPO_NAME}
|
||||||
|
- cp -r ./static ./${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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user