ci: Use temporary directory for git-crypt
Some checks failed
ci/woodpecker/push/build-site Pipeline failed

This commit is contained in:
Thomas A. Christensen II 2024-02-08 11:38:49 -06:00
parent d99fc17381
commit 31f43ba086
Signed by: millironx
GPG key ID: B7044A3432851F64

View file

@ -5,9 +5,9 @@ steps:
- name: Decrypt repository
image: andyaugustin/git-crypt:v1.0.2
commands:
- echo "${GIT_CRYPT_KEY}" | base64 --decode > ./.git-crypt-key
- git-crypt unlock ./.git-crypt-key
- rm ./.git-crypt-key
- echo "${GIT_CRYPT_KEY}" | base64 --decode > /tmp/.git-crypt-key
- git-crypt unlock /tmp/.git-crypt-key
- rm /tmp/.git-crypt-key
secrets:
- git_crypt_key
- name: Install Node packages