1
1
mirror of https://github.com/sdiehl/wiwinwlh.git synced 2024-07-07 08:36:30 +03:00
wiwinwlh/deploy.sh
2020-02-18 19:01:10 +00:00

16 lines
522 B
Bash
Executable File

#rsync css/style.css ec2:~
#ssh ec2 'sudo mv style.css /srv/http/hask/css/style.css'
#
#rsync css/layout.css ec2:~
#ssh ec2 'sudo mv layout.css /srv/http/hask/css/layout.css'
#
#rsync js/nav.js ec2:~
#ssh ec2 'sudo mv nav.js /srv/http/hask/nav.js'
rsync --progress tutorial.html ec2:~
rsync --progress tutorial.pdf ec2:~
rsync --progress tutorial_print.pdf ec2:~
ssh ec2 'sudo mv tutorial.html /srv/http/hask/index.html'
ssh ec2 'sudo mv tutorial_print.pdf /srv/http/hask/'
ssh ec2 'sudo mv tutorial.pdf /srv/http/hask/'