Skip to content

Commit 0c532ff

Browse files
committed
Fix git safe dir error
1 parent 8171f59 commit 0c532ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docs.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ jobs:
4949
fi
5050
- name: Build documentation
5151
run: |
52-
docker run --rm --volume "$PWD:/root/flink-kubernetes-operator" chesnay/flink-ci:java_8_11_17_21_maven_386_jammy bash -c "cd /root/flink-kubernetes-operator && ./.github/workflows/docs.sh"
52+
docker run --rm \
53+
--volume "$PWD:/root/flink-kubernetes-operator" \
54+
chesnay/flink-ci:java_8_11_17_21_maven_386_jammy \
55+
bash -lc 'git config --global --add safe.directory /root/flink-kubernetes-operator && cd /root/flink-kubernetes-operator && ./.github/workflows/docs.sh'
5356
- name: Upload documentation
5457
uses: ./.github/actions/rsync-deployments
5558
with:

0 commit comments

Comments
 (0)