blob: d730ae426c84b2c8ab32c13e9ff74f8eedbfcb3d (
plain) (
tree)
|
|
image: nixos/unstable
repositories:
nixpkgs: https://nixos.org/channels/nixpkgs-unstable
triggers:
- condition: failure
action: email
to: EuAndreh <ci@euandre.org>
sources:
- https://git.sr.ht/~euandreh/website
secrets:
- 148e7be0-9948-4e49-88e3-ca8c5b7ac9f0
tasks:
- tests: |
cd website/
nix-build -A test
- check-branch: |
cd website/
if [[ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]]; then
complete-build;
fi
- docs: |
cd website/
nix-build -A publishScript
source ./scripts/publish-env.sh
./result/bin/publish.sh
|