From f2edf4f17a5a066c6a9088ede7ab2636bed53394 Mon Sep 17 00:00:00 2001 From: jordan brooks Date: Wed, 28 Feb 2024 11:43:22 +0000 Subject: [PATCH] safe-dir --- .github/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 89fda449..f8014751 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest container: image: clojure:latest - options: --user 1001 # don't run as root + # options: --user 1001 # don't run as root environment: test steps: - name: checkout @@ -28,6 +28,7 @@ jobs: CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} run: | + git config --global --add safe.directory '/w__/jackdaw/jackdaw' apt-get update apt-get install -y gpg echo $GPG_PRIVATE_KEY |base64 --decode |gpg --yes --batch --import