aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-12-29 19:33:21 -0200
committerEuAndreh <eu@euandre.org>2018-12-29 19:33:21 -0200
commitaa5ef73235823c1e91195cec0905a45424af95b2 (patch)
treec7c724ef10d6ebce09fb6ce42ae5bb12fc3e55de /templates
parentMake scripts/startx executable. (diff)
downloaddotfiles-aa5ef73235823c1e91195cec0905a45424af95b2.tar.gz
dotfiles-aa5ef73235823c1e91195cec0905a45424af95b2.tar.xz
Generate .build.yml files on fake-symlinks.
Diffstat (limited to 'templates')
-rw-r--r--templates/sr-ht-build.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/sr-ht-build.yaml b/templates/sr-ht-build.yaml
new file mode 100644
index 0000000..8c55df6
--- /dev/null
+++ b/templates/sr-ht-build.yaml
@@ -0,0 +1,23 @@
+image: debian/stretch
+packages:
+ - curl
+triggers:
+ - condition: failure
+ action: email
+ to: EuAndreh <eu@euandre.org>
+sources:
+ - https://git.sr.ht/~euandreh/$REPO
+secrets:
+ - 7159f943-811f-402d-bb6d-37cd764dc728
+tasks:
+ - setup: |
+ curl https://nixos.org/nix/install | sh
+ echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
+ - tests: |
+ cd $REPO/
+ nix-build -A test
+ - docs: |
+ cd $REPO/
+ nix-build -A publishScript
+ source env.sh
+ ./result/bin/publish.sh