diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..297d8e8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.txt filter=git-crypt diff=git-crypt diff --git a/.woodpecker.yml b/.woodpecker.yml index 54c6f47..ad2bb5e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,14 +6,18 @@ pipeline: when: event: push branch: main + secrets: [ gpg_keyfile ] commands: - - apk add --no-cache python3 poetry just - # - echo "===== 2015 =====" - # - cd 2015 - # - poetry install --no-interaction --no-root - # - just - # - cd .. - - echo "===== 2022 =====" - - cd 2022 + - 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