Update .woodpecker.yml

This commit is contained in:
Keannu Bernasol 2024-10-15 22:01:10 +08:00
parent 53396914b9
commit b91702285e

View file

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