ci: Use temporary directory for git-crypt
Some checks failed
ci/woodpecker/push/build-site Pipeline failed
Some checks failed
ci/woodpecker/push/build-site Pipeline failed
This commit is contained in:
parent
d99fc17381
commit
31f43ba086
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue