From fb9e794b8a83f8354c380ae3b7214a5da17c78d6 Mon Sep 17 00:00:00 2001 From: Erik Fasterius Date: Fri, 18 Oct 2024 14:28:49 +0200 Subject: [PATCH] Streamline Canvas upload GHA --- .github/workflows/canvas-upload.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/canvas-upload.yml b/.github/workflows/canvas-upload.yml index 99e6263d..3630b88d 100644 --- a/.github/workflows/canvas-upload.yml +++ b/.github/workflows/canvas-upload.yml @@ -15,6 +15,7 @@ on: jobs: upload: runs-on: ubuntu-latest + container: pandoc/latex steps: - uses: actions/checkout@v2 with: @@ -23,8 +24,4 @@ jobs: 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 + bash pages/upload-page-to-canvas.sh pages/tools-for-reproducible-research.md $API_TOKEN