aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 20:03:04 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 20:03:04 -0300
commit13238d26777bcd446459454bf5003b118415a35f (patch)
tree80c18d8e1a29ccd11ae1cb7fdb61fe158705d47e /.build.yml
parentUse nix-shell --pure to run scripts (diff)
downloadserver-13238d26777bcd446459454bf5003b118415a35f.tar.gz
server-13238d26777bcd446459454bf5003b118415a35f.tar.xz
Use nix-shell shebang to run CI scripts
Diffstat (limited to '')
-rw-r--r--.build.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.build.yml b/.build.yml
index 8c22e08..4431bf4 100644
--- a/.build.yml
+++ b/.build.yml
@@ -13,11 +13,8 @@ secrets:
- 7084b7c7-12be-4509-8927-81ba6eeb1fc0
tasks:
- setup: |
- cd vps/
- nix-shell --pure --run "bash -c ./ci-setup.sh"
+ ./vps/ci-setup.sh
- tests: |
- cd vps/
- nix-build -A test
+ nix-build -A test vps/
- deploy: |
- cd vps/
- nix-shell --pure --run "bash -c ./provision.sh"
+ ./vps/provision.sh