Skip to content

Commit

Permalink
DEVX-1278
Browse files Browse the repository at this point in the history
still trying with safe.directory
  • Loading branch information
sheaphillips committed Mar 13, 2024
1 parent f3d0608 commit c7160be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ export AWS_REGION="$INPUT_S3_REGION"
ENTITY_PATH="$ENTITY_NAMESPACE/$ENTITY_KIND/$ENTITY_NAME"

echo "Setting git configuration..."
git config --global --add safe.directory ./docs
git config --global --add safe.directory /github/workspace/docs

# when running within an Action this won't exist, but it may when testing locally
if [ ! -d "./site" ]; then
echo "Creating ./site directory."
mkdir site
fi

git config --global --add safe.directory ./site
git config --global --add safe.directory /github/workspace/site

echo "Building TechDocs from Markdown for entity '$ENTITY_NAMESPACE/$ENTITY_KIND/$ENTITY_NAME'"
techdocs-cli build --verbose --no-docker
Expand Down

0 comments on commit c7160be

Please sign in to comment.