Update CI deployment script to create required directories
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Colin 2025-10-10 16:22:22 -04:00
parent 0404e1fb63
commit b622765af3
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ steps:
- HOSTNAME=$(docker info --format "{{.Name}}")
- echo "Deploying on $HOSTNAME"
- docker node ls >/dev/null 2>&1 || (echo "Runner must be on a Swarm manager" && exit 1)
- mkdir -p /mnt/data/nixc.us/woodpecker/production/db /mnt/data/nixc.us/woodpecker/production/data
- chmod -R 777 /mnt/data/nixc.us/woodpecker/production
- docker stack deploy --with-registry-auth -c stack.yml woodpecker
- sleep 30
- docker service ls | grep woodpecker