Skip to content

Merge pull request #266 from NBISweden/specky #364

Merge pull request #266 from NBISweden/specky

Merge pull request #266 from NBISweden/specky #364

Workflow file for this run

name: Canvas upload
on:
workflow_dispatch:
branches:
- main
- devel
push:
branches:
- main
- devel
paths:
- 'pages/tools-for-reproducible-research.md'
- 'pages/upload-page-to-canvas.sh'
jobs:
upload:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Upload landing page to Canvas
env:
API_TOKEN: ${{ secrets.CANVAS_API_TOKEN }}
run: |
bash pages/upload-page-to-canvas.sh pages/tools-for-reproducible-research.md $API_TOKEN