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

master
parent d99fc17381
commit 31f43ba086
Signed by: millironx
GPG Key ID: B7044A3432851F64

@ -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

Loading…
Cancel
Save