Changed updater

This commit is contained in:
2020-05-31 23:13:01 +02:00
parent 9498916c9b
commit 270d07ffd3
Regular → Executable
+6 -2
View File
@@ -1,9 +1,13 @@
#!/bin env
#!/usr/bin/env bash
WEBSERVER='aquaria'
source ./venv/activate
[[ ! ${VIRTUAL_ENV} ]] && NO_VENV=1 && source ./venv/bin/activate
# Build
pelican
# And upload
scp -r output/* ${WEBSERVER}:~/web/
[[ ${NO_VENV} ]] && deactivate