Remove docs on PRs
- Update wiki step
This commit is contained in:
@@ -4,10 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# TODO - REMOVE AFTER TESTING
|
||||
pull_request:
|
||||
branches:
|
||||
- "*"
|
||||
# schedule:
|
||||
# - cron: '0 0 * * 1' # Every Monday at midnight (UTC)
|
||||
|
||||
@@ -42,5 +38,10 @@ jobs:
|
||||
git config user.name "gitea-actions"
|
||||
git config user.email "gitea-actions@cusano.net"
|
||||
git add .
|
||||
git commit -m "Update wiki from JSDoc"
|
||||
git push
|
||||
# Check if there are any changes to commit
|
||||
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