From 1aba532d4311d1ea819af071cc44ceb95759a51f Mon Sep 17 00:00:00 2001
From: EuAndreh <eu@euandre.org>
Date: Thu, 6 Feb 2020 03:51:43 -0300
Subject: Setup publish environment variables

---
 .build.yml             | 2 +-
 scripts/publish-env.sh | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 scripts/publish-env.sh

diff --git a/.build.yml b/.build.yml
index 29f67a6..5e3c5bf 100644
--- a/.build.yml
+++ b/.build.yml
@@ -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/"
-- 
cgit v1.2.3