Files
cnix/.build.yml
2024-08-17 19:36:46 +02:00

18 lines
503 B
YAML

image: alpine/edge
secrets:
- 3f6a4bb6-d012-403b-9c70-fd6ba554dc4a
sources:
- git@git.sr.ht:~canasta/cnix
environment:
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
tasks:
- setup: |
# This is for not having to cd into your <repo> for each task
echo 'cd <repo>' >> ~/.buildenv
- check: |
if [ "$(git rev-parse origin/main)" != "$(git rev-parse HEAD)" ]; then \
complete-build; \
fi
- mirror: |
git push --force --mirror git@github.com:cnsta/cnix.git