Patch deploy script for production

This commit is contained in:
Timothée Floure 2021-02-03 15:07:02 +01:00
parent 00d8f7a874
commit 9fcae25ece
Signed by: tfloure
GPG key ID: 4502C902C00A1E12

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
DESTINATION=root@static.recycled.cloud:/var/www/ DESTINATION=root@static.recycled.cloud:/var/www/
WEBSITE=static.staging.recycled.cloud WEBSITE=recycled.cloud
sftp -b - "$DESTINATION" <<- EOF sftp -b - "$DESTINATION" <<- EOF
-rm $WEBSITE/* -rm $WEBSITE/*