12 lines
548 B
Bash
Executable File
12 lines
548 B
Bash
Executable File
#!/bin/bash
|
|
export DN="https://app.happy-dev.fr"
|
|
export SDN="https://hd-ldp.happy-dev.fr"
|
|
php index.php > index.html
|
|
grunt
|
|
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/
|
|
scp -r src/js/ hd-app@ssh-hd-app.alwaysdata.net:~/hd-app/src/
|