Skip to content

Commit

Permalink
Update doc.yml
Browse files Browse the repository at this point in the history
fix permission issue
  • Loading branch information
jsimonclark authored May 6, 2024
1 parent 9672ebb commit 271d330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
if [ -d "context" ]; then
echo "Context directory exists, copying context.json to $TAG"
# Make sure the context directory exists in the version-specific directory
mkdir -p "sphinx/_build/html/version/$TAG/context"
sudo mkdir -p "sphinx/_build/html/version/$TAG/context"
# Copy context.json to the tag-specific context directory
cp "context/context.json" "sphinx/_build/html/version/$TAG/context"
sudo cp "context/context.json" "sphinx/_build/html/version/$TAG/context"
else
echo "No context directory found in the source directory."
fi
Expand Down

0 comments on commit 271d330

Please sign in to comment.