aoc/.woodpecker.yml

24 lines
646 B
YAML

---
branches: main
pipeline:
main:
image: alpine:3
when:
event: push
branch: main
secrets: [ gpg_keyfile ]
commands:
- apk add --no-cache git-crypt python3 poetry just
- echo "$GPG_KEYFILE" | base64 -d > tmp
- git-crypt unlock tmp
- rm tmp
- echo "===== 2015 ====="
- cd 2015
- poetry install --no-interaction --no-root
- just
- cd ..
# - echo "===== 2022 ====="
# - cd 2022
# - poetry install --no-interaction --no-root
# - just