Skip to content

Commit 6280c12

Browse files
Merge pull request #25 from ecohealthalliance/dev
add decrypt step
2 parents e469a04 + bc38533 commit 6280c12

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ jobs:
2323
- name: Trust repo
2424
run: |
2525
git config --global --add safe.directory /__w/acdc-db-handbook/acdc-db-handbook
26-
26+
27+
- name: Decrypt repository using symmetric key
28+
run: |
29+
echo $GIT_CRYPT_KEY64 > git_crypt_key.key64 && base64 -di git_crypt_key.key64 > git_crypt_key.key && git-crypt unlock git_crypt_key.key
30+
rm git_crypt_key.key git_crypt_key.key64
31+
2732
- name: Set up Quarto
2833
uses: quarto-dev/quarto-actions/setup@v2
2934
with:

0 commit comments

Comments
 (0)