Testing Drone
continuous-integration/drone/push Build is passing Details

deploy
Flycro 2023-01-30 17:15:16 +01:00
parent 65a336e2c0
commit 632c02d666
1 changed files with 9 additions and 1 deletions

View File

@ -10,4 +10,12 @@ platform:
steps:
- name: Build
commands:
- pwd
- pnpm install
- pnpm build
- chown -R www-data:www-data /var/www/html/flycro.me/flycro.me
- find /var/www/html/flycro.me/flycro.me -type f -exec chmod 664 {} \\;
- find /var/www/html/flycro.me/flycro.me -type d -exec chmod 775 {} \\;
- rm -r /var/www/html/flycro.me/flycro.me/*
- name: Deploy
commands:
- cp -af ./. /var/www/html/flycro.me/flycro.me/