Skip to content

Commit

Permalink
Update check-url.yml (#786)
Browse files Browse the repository at this point in the history
* Update check-url.yml

* Update 02-chapter_of_course.Rmd

* Update check-url.yml

* Update 02-chapter_of_course.Rmd
  • Loading branch information
cansavvy authored Dec 11, 2024
1 parent a060930 commit 07ed9d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/check-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ jobs:
run: |
echo ${{ steps.check-report.outputs.error_url }}
echo ${{ steps.check-report.outputs.error_num }}
# Commit file
- name: Commit tocless bookdown files
if: ${{ steps.check-report.outputs.error_num >= 1 }}
env:
GH_PAT: ${{ secrets.GH_PAT }}
run: |
git add --force check_reports/url_checks.tsv
git commit -m 'Add spell check file' || echo "No changes to commit"
git push --set-upstream origin preview-spell-error || echo echo branch exists remotely
- name: Find issues
id: find-issue
Expand Down

0 comments on commit 07ed9d2

Please sign in to comment.