Skip to content

Commit 19b743e

Browse files
committed
fix(workflow): detected dubious ownership in repository
1 parent 4a38ab6 commit 19b743e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.drone/drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ steps:
77
commands:
88
- make docker-build docker-build-docs
99
- cp _scripts/* _build/html
10-
- git config --global --add safe.directory _build/html
11-
- cd _build/html && echo "drycc.cc" > CNAME && echo "www.drycc.cc" >> CNAME && git init & git config --global --add safe.directory .
10+
- cd _build/html && echo "drycc.cc" > CNAME && echo "www.drycc.cc" >> CNAME && git init
1211
environment:
1312
SSH_DEPLOY_KEY:
1413
from_secret: ssh_deploy_key
1514

1615
- name: publish-docs
1716
commands:
17+
- chown -R root:root _build/html
1818
- docker run --rm
1919
-e DRONE_COMMIT_AUTHOR="$DRONE_COMMIT_AUTHOR"
2020
-e DRONE_COMMIT_AUTHOR_EMAIL="$DRONE_COMMIT_AUTHOR_EMAIL"

0 commit comments

Comments
 (0)