aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 19:51:23 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 19:51:23 -0300
commit3595d2518eeae4674fa2b500244951435165a393 (patch)
tree16e3765a1d6bda65717beb5ea07316d582fe24de /.build.yml
parentTODOs.org (diff)
downloadserver-3595d2518eeae4674fa2b500244951435165a393.tar.gz
server-3595d2518eeae4674fa2b500244951435165a393.tar.xz
Use nix-shell --pure to run scripts
Instead of adding them to the =packages= section of .build.yml.
Diffstat (limited to '')
-rw-r--r--.build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 28c79e4..8c22e08 100644
--- a/.build.yml
+++ b/.build.yml
@@ -13,10 +13,11 @@ secrets:
- 7084b7c7-12be-4509-8927-81ba6eeb1fc0
tasks:
- setup: |
- ./vps/ci-setup.sh
+ cd vps/
+ nix-shell --pure --run "bash -c ./ci-setup.sh"
- tests: |
cd vps/
nix-build -A test
- deploy: |
cd vps/
- nix-shell --run "bash -c ./provision.sh"
+ nix-shell --pure --run "bash -c ./provision.sh"