Update .woodpecker.yml

This commit is contained in:
Keannu Bernasol 2024-10-15 22:02:35 +08:00
parent b91702285e
commit d035f35b79

View file

@ -14,5 +14,5 @@ steps:
- npm install
- npm run build
- ssh "$REMOTE_HOST" 'rm -rf "$PROJECT_DIRECTORY/*"'
- scp -r build/* "$REMOTE_HOST":$PROJECT_DIRECTORY
- scp -r build/* "$REMOTE_HOST":"$PROJECT_DIRECTORY"
secrets: [SSH_KEY, REMOTE_HOST, PROJECT_DIRECTORY]