Skip to content

Commit 1d20c9f

Browse files
committed
git safe directory in container
1 parent 172cde7 commit 1d20c9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy-site.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ jobs:
2020
- name: "Build site"
2121
run: |
2222
podman run -it -v $(pwd):/mnt -w /mnt --userns=keep-id \
23-
quay.io/openssl-ci/docs:20240706-200401 \
24-
python build.py ${{ github.event.inputs.branch }}
23+
quay.io/openssl-ci/docs:20240706-200401 sh -c "\
24+
git config --global --add safe.directory /mnt && \
25+
python build.py ${{ github.event.inputs.branch }}"

0 commit comments

Comments
 (0)