From ee8b9369e207f1d024093529385afab0f06c3b3a Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 30 Aug 2024 17:46:01 +0800 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5463d8f..9bf5362 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -22,12 +22,11 @@ steps: - chmod 600 /root/.ssh/id_rsa - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config - ssh root@10.0.10.4 ' - cd /mnt/nvme/files/docker projects/EquipmentTracker-Backend; + cd /mnt/sdb1/files/docker projects/DRF-Template; docker-compose down; docker image rm git.keannu1.duckdns.org/keannu125/drf_template; docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data; docker compose up -d' - - scp -r dist/* root@10.0.10.4:/mnt/nvme/www/equipment_tracker_frontend volumes: - /var/run/docker.sock:/var/run/docker.sock secrets: [SSH_KEY, REGISTRY_USERNAME, REGISTRY_PASSWORD]