2018-05-01 04:18:20 +00:00
|
|
|
#!/bin/bash
|
2018-05-13 03:06:10 +00:00
|
|
|
export DN="https://app.happy-dev.fr"
|
|
|
|
export SDN="https://hd-ldp.happy-dev.fr"
|
2018-05-01 04:18:20 +00:00
|
|
|
php index.php > index.html
|
|
|
|
grunt
|
2018-05-06 06:17:07 +00:00
|
|
|
ssh hd-app@ssh-hd-app.alwaysdata.net "rm -R hd-app; mkdir hd-app; cd hd-app; mkdir -p src/fonts; mkdir -p dist/css;"
|
|
|
|
scp index.html hd-app@ssh-hd-app.alwaysdata.net:~/hd-app/
|
|
|
|
scp .htaccess hd-app@ssh-hd-app.alwaysdata.net:~/hd-app/
|
|
|
|
scp -r dist/css/ hd-app@ssh-hd-app.alwaysdata.net:~/hd-app/dist/
|
|
|
|
scp -r src/fonts/ hd-app@ssh-hd-app.alwaysdata.net:~/hd-app/src/
|
2018-05-16 06:08:38 +00:00
|
|
|
scp -r src/js/ hd-app@ssh-hd-app.alwaysdata.net:~/hd-app/src/
|