This commit is contained in:
parent
8ced2b2a60
commit
843d18d306
|
@ -18,8 +18,7 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
- name: Deploy to web server
|
- name: Deploy to web server
|
||||||
run: |
|
run: |
|
||||||
find /var/www/otomata -maxdepth 1 -type f -delete
|
find /var/www/otomata/* -path '/var/www/otomata/demos' -prune -o -exec rm -rf {} +
|
||||||
find /var/www/otomata -maxdepth 1 -type d ! -name demos ! -name otomata -exec rm -rf {} +
|
|
||||||
cp -r _site/* /var/www/otomata/
|
cp -r _site/* /var/www/otomata/
|
||||||
chown -R www-data:www-data /var/www/otomata
|
chown -R www-data:www-data /var/www/otomata
|
||||||
chmod -R 755 /var/www/otomata
|
chmod -R 755 /var/www/otomata
|
Loading…
Reference in a new issue