Skip to content

Commit bba0b62

Browse files
committed
ci: remove source folder earlier
1 parent 9d4f5a9 commit bba0b62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/update-built-docs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ rm -rfd ./api-docs/phpstorm-stubs/*
2424
# Render
2525
./releases/latest/doctum.phar update --no-ansi --no-progress --ignore-parse-errors -v api-docs/doctum-php-phpstorm-stubs.php --force
2626

27+
# Local folder cleanup
28+
rm -rf ./api-docs/sources/phpstorm-stubs/
29+
2730
# Push the changes, but not if empty
2831
git add -A ./api-docs/phpstorm-stubs
2932
git diff-index --quiet HEAD || git commit -m "Api documentations update ($(date --utc))" -m "#apidocs" && git push
3033

3134
git checkout - > /dev/null
3235

3336
# Local folder cleanup
34-
rm -rf ./api-docs/sources/phpstorm-stubs/
3537
rm -rf ./api-docs/phpstorm-stubs

0 commit comments

Comments
 (0)