diff options
author | EuAndreh <eu@euandre.org> | 2020-02-06 03:51:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-06 03:51:43 -0300 |
commit | 1aba532d4311d1ea819af071cc44ceb95759a51f (patch) | |
tree | 58d52309b1ea2b6b7c3a08feed04deb5d64b83d2 | |
parent | Let jekyll create the $out directory (diff) | |
download | euandre.org-1aba532d4311d1ea819af071cc44ceb95759a51f.tar.gz euandre.org-1aba532d4311d1ea819af071cc44ceb95759a51f.tar.xz |
Setup publish environment variables
-rw-r--r-- | .build.yml | 2 | ||||
-rw-r--r-- | scripts/publish-env.sh | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -16,5 +16,5 @@ tasks: - docs: | cd website/ nix-build -A publishScript - source ./docs/env.sh + source ./scripts/publish-env.sh ./result/bin/publish.sh diff --git a/scripts/publish-env.sh b/scripts/publish-env.sh new file mode 100644 index 0000000..d5e8be2 --- /dev/null +++ b/scripts/publish-env.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +export SERVER_URL=root@euandre.org +export DOCS_SERVER_PATH="/home/user-data/www/default/" |