Skip to content

Commit

Permalink
Streamline Canvas upload GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterius committed Oct 18, 2024
1 parent d22e77b commit fb9e794
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/canvas-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
upload:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -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

0 comments on commit fb9e794

Please sign in to comment.