Remove docs on PRs
- Update wiki step
This commit is contained in:
@@ -4,10 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
# TODO - REMOVE AFTER TESTING
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- "*"
|
|
||||||
# schedule:
|
# schedule:
|
||||||
# - cron: '0 0 * * 1' # Every Monday at midnight (UTC)
|
# - cron: '0 0 * * 1' # Every Monday at midnight (UTC)
|
||||||
|
|
||||||
@@ -42,5 +38,10 @@ jobs:
|
|||||||
git config user.name "gitea-actions"
|
git config user.name "gitea-actions"
|
||||||
git config user.email "gitea-actions@cusano.net"
|
git config user.email "gitea-actions@cusano.net"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update wiki from JSDoc"
|
# Check if there are any changes to commit
|
||||||
git push
|
if git diff --cached --quiet; then
|
||||||
|
echo "No changes to commit."
|
||||||
|
else
|
||||||
|
git commit -m "Update wiki from JSDoc"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user