Skip to content

Commit

Permalink
Merge pull request #96 from jhudsl/repo-sync/OTTR_Template/default
Browse files Browse the repository at this point in the history
🔄 Synced file(s) with jhudsl/OTTR_Template
  • Loading branch information
kweav authored Dec 20, 2024
2 parents d89c5cd + 17dc80e commit 0cd8911
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 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
1 change: 0 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}

# Use the yaml-env-action action.
- name: Load environment from YAML
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
push:
branches: [ main, staging ]
paths:
- '**md$'
- '*.qmd'
- '*.Rmd'
- assets/*
- quizzes/*

Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
git add --force docs/*
git commit -m 'Render course' || echo "No changes to commit"
git status docs/*
git push -u origin main || echo "No changes to push"
git push --force -u origin main || echo "No changes to push"
render-tocless:
name: Render TOC-less version for Leanpub or Coursera
Expand Down Expand Up @@ -149,7 +150,7 @@ jobs:
git add --force docs/no_toc*
git commit -m 'Render toc-less' || echo "No changes to commit"
git status docs/no_toc*
git push -u origin main || echo "No changes to push"
git push --force -u origin main || echo "No changes to push"
render-leanpub:
name: Finish Leanpub prep
Expand Down Expand Up @@ -188,6 +189,7 @@ jobs:
--git_pat ${{ secrets.GH_PAT }} \
--repo $GITHUB_REPOSITORY \
--output_dir resources/chapt_screen_images)
rm make_screenshots.R
# We want a fresh run of the renders each time
- name: Delete manuscript/
Expand Down Expand Up @@ -276,4 +278,4 @@ jobs:
git add --force docs/*
git commit -m 'Render Coursera quizzes' || echo "No changes to commit"
git status
git push -u origin main || echo "No changes to push"
git push --force -u origin main || echo "No changes to push"
2 changes: 1 addition & 1 deletion style-sets/itcr/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ knitr::write_bib(c(

# About this Course {-}

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.
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 comments on commit 0cd8911

Please sign in to comment.