Skip to content

Change RMarkdown to Quarto on course overview page #302

Change RMarkdown to Quarto on course overview page

Change RMarkdown to Quarto on course overview page #302

Workflow file for this run

name: canvas-upload
on:
workflow_dispatch:
branches:
- main
- devel
push:
paths:
- 'pages/*.md'
- 'pages/*/*.md'
- 'pages/upload-page-to-canvas.sh'
branches:
- main
- devel
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Upload pages
env:
API_TOKEN: ${{ secrets.CANVAS_API_TOKEN }}
run: |
docker pull pandoc/latex
for FILE in $(find pages -name '*.md' ! -name "README.md");
do
bash pages/upload-page-to-canvas.sh "$FILE" "$API_TOKEN"
done