Skip to content

Commit

Permalink
Ensure Coursera quizzes are rendered (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
avahoffman authored Feb 16, 2024
1 parent 21ac2c2 commit 9d23c94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,16 @@ jobs:
run: Rscript -e "ottrpal::convert_coursera_quizzes()"

# Commit the rendered bookdown files
# Only commit coursera quizzes if the directory is present
- name: Commit rendered Coursera files
env:
GH_PAT: ${{ secrets.GH_PAT }}
run: |
git remote set-url origin https://${GH_PAT}@github.com/${GITHUB_REPOSITORY}
git fetch origin
if [ -d 'coursera_quizzes' ]; then
git add --force coursera_quizzes/*
fi
git add --force manuscript/*
git add --force resources/*
git add --force docs/*
Expand Down

0 comments on commit 9d23c94

Please sign in to comment.