From 833ded291b2624a241c34cdc010bcf00444b613b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 15 Jun 2019 13:26:29 -0300 Subject: Move ./env.sh to ./docs/env.sh --- .build.yml | 2 +- docs/env.sh | 6 ++++++ env.sh | 6 ------ 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 docs/env.sh delete mode 100644 env.sh diff --git a/.build.yml b/.build.yml index de22d26..29f67a6 100644 --- a/.build.yml +++ b/.build.yml @@ -16,5 +16,5 @@ tasks: - docs: | cd website/ nix-build -A publishScript - source env.sh + source ./docs/env.sh ./result/bin/publish.sh diff --git a/docs/env.sh b/docs/env.sh new file mode 100644 index 0000000..c3598bb --- /dev/null +++ b/docs/env.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail +cd "$(dirname "${BASH_SOURCE[0]}")" + +export SERVER_URL=root@euandre.org +export DOCS_SERVER_PATH="/home/user-data/www/default/" diff --git a/env.sh b/env.sh deleted file mode 100644 index c3598bb..0000000 --- a/env.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -cd "$(dirname "${BASH_SOURCE[0]}")" - -export SERVER_URL=root@euandre.org -export DOCS_SERVER_PATH="/home/user-data/www/default/" -- cgit v1.2.3