Skip to content

Commit

Permalink
Check if docs exists
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhoErvasti committed May 15, 2024
1 parent 33ab8c8 commit ccd55b4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/render-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,16 @@ jobs:
git add G*
git add docs
if [ -d "docs" ]; then
git add docs
fi
git clean -df
mv docs/* .
rm -r docs
if [ -d "docs" ]; then
mv docs/* .
rm -r docs
fi
git add .
git commit -m "Automatic: Render docs from ${GITHUB_SHA}"
Expand Down

0 comments on commit ccd55b4

Please sign in to comment.