Skip to content

Commit 0cd8911

Browse files
authored
Merge pull request #96 from jhudsl/repo-sync/OTTR_Template/default
🔄 Synced file(s) with jhudsl/OTTR_Template
2 parents d89c5cd + 17dc80e commit 0cd8911

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.github/workflows/check-url.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ jobs:
7878
run: |
7979
echo ${{ steps.check-report.outputs.error_url }}
8080
echo ${{ steps.check-report.outputs.error_num }}
81+
82+
# Commit file
83+
- name: Commit tocless bookdown files
84+
if: ${{ steps.check-report.outputs.error_num >= 1 }}
85+
env:
86+
GH_PAT: ${{ secrets.GH_PAT }}
87+
run: |
88+
git add --force check_reports/url_checks.tsv
89+
git commit -m 'Add spell check file' || echo "No changes to commit"
90+
git push --set-upstream origin preview-spell-error || echo echo branch exists remotely
8191
8292
- name: Find issues
8393
id: find-issue

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
token: ${{ secrets.GH_PAT }}
2120

2221
# Use the yaml-env-action action.
2322
- name: Load environment from YAML

.github/workflows/render-all.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
push:
99
branches: [ main, staging ]
1010
paths:
11-
- '**md$'
11+
- '*.qmd'
12+
- '*.Rmd'
1213
- assets/*
1314
- quizzes/*
1415

@@ -101,7 +102,7 @@ jobs:
101102
git add --force docs/*
102103
git commit -m 'Render course' || echo "No changes to commit"
103104
git status docs/*
104-
git push -u origin main || echo "No changes to push"
105+
git push --force -u origin main || echo "No changes to push"
105106
106107
render-tocless:
107108
name: Render TOC-less version for Leanpub or Coursera
@@ -149,7 +150,7 @@ jobs:
149150
git add --force docs/no_toc*
150151
git commit -m 'Render toc-less' || echo "No changes to commit"
151152
git status docs/no_toc*
152-
git push -u origin main || echo "No changes to push"
153+
git push --force -u origin main || echo "No changes to push"
153154
154155
render-leanpub:
155156
name: Finish Leanpub prep
@@ -188,6 +189,7 @@ jobs:
188189
--git_pat ${{ secrets.GH_PAT }} \
189190
--repo $GITHUB_REPOSITORY \
190191
--output_dir resources/chapt_screen_images)
192+
rm make_screenshots.R
191193
192194
# We want a fresh run of the renders each time
193195
- name: Delete manuscript/
@@ -276,4 +278,4 @@ jobs:
276278
git add --force docs/*
277279
git commit -m 'Render Coursera quizzes' || echo "No changes to commit"
278280
git status
279-
git push -u origin main || echo "No changes to push"
281+
git push --force -u origin main || echo "No changes to push"

style-sets/itcr/index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ knitr::write_bib(c(
2020

2121
# About this Course {-}
2222

23-
This course is part of a series of courses for the [Informatics Technology for Cancer Research (ITCR)](https://itcr.cancer.gov/) called the Informatics Technology for Cancer Research Education Resource. This material was created by the ITCR Training Network (ITN) which is a collaborative effort of researchers around the United States to support cancer informatics and data science training through resources, technology, and events. This initiative is funded by the following grant: [National Cancer Institute (NCI)](https://www.cancer.gov/) UE5 CA254170. Our courses feature tools developed by ITCR Investigators and make it easier for principal investigators, scientists, and analysts to integrate cancer informatics into their workflows. Please see our website at [www.itcrtraining.org](www.itcrtraining.org) for more information.
23+
This course is part of a series of courses for the [Informatics Technology for Cancer Research (ITCR)](https://www.cancer.gov/about-nci/organization/cssi/research/itcr). This material was created by the ITCR Training Network (ITN) which is a collaborative effort of researchers around the United States to support cancer informatics and data science training through resources, technology, and events. This initiative is funded by the following grant: [National Cancer Institute (NCI)](https://www.cancer.gov/) UE5 CA254170. Our courses feature tools developed by ITCR Investigators and make it easier for principal investigators, scientists, and analysts to integrate cancer informatics into their workflows. Please see our website at [www.itcrtraining.org](www.itcrtraining.org) for more information.

0 commit comments

Comments
 (0)