docker compose into drone-yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
root 2022-10-17 22:36:17 -04:00
parent 7729cae185
commit f7a3d9f065

View File

@ -24,6 +24,11 @@ steps:
commands:
- mkdir -p /usr/share/$DRONE_REPO_NAME/dist
- mv /usr/share/$DRONE_REPO_NAME/bin/Debug/net6.0/* /usr/share/$DRONE_REPO_NAME/dist
- name: docker-compose-rebuild
commands:
- cd /usr/share/$DRONE_REPO_NAME
- docker compose up -d --build
- name: cleanup
commands:
- rm -rf /usr/share/$DRONE_REPO_NAME/bin /usr/share/$DRONE_REPO_NAME/obj
- rm -rf /usr/share/$DRONE_REPO_NAME/bin /usr/share/$DRONE_REPO_NAME/obj