Skip to content

Commit fe968a9

Browse files
committed
Chown
1 parent b7fabb7 commit fe968a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ RUN mkdir -p /var/hugo/bin /cache && \
7171
addgroup -Sg 1000 hugo && \
7272
adduser -Sg hugo -u 1000 -h /var/hugo hugo && \
7373
chown -R hugo: /var/hugo /cache && \
74+
chown -R hugo: $GITHUB_WORKSPACE || : && \
7475
# For the Hugo's Git integration to work.
7576
runuser -u hugo -- git config --global --add safe.directory /project && \
7677
# See https://github.com/gohugoio/hugo/issues/9810

0 commit comments

Comments
 (0)