[no ci] add rm step
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is running

This commit is contained in:
Sakooooo 2024-12-06 23:46:23 +04:00
parent fead0d55c5
commit 5f9d769e06
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -20,7 +20,9 @@ steps:
CLOUDFLARE_API_TOKEN: CLOUDFLARE_API_TOKEN:
from_secret: cloudflare_api_token from_secret: cloudflare_api_token
commands: commands:
- echo "Moving..." - echo "Cleaning old files..."
- rm -r /tmp/output/{*,.*}
- echo "Moving new files..."
- cp -r dist/. /tmp/output - cp -r dist/. /tmp/output
volumes: volumes:
- /home/docker/sakosite:/tmp/output - /home/docker/sakosite:/tmp/output