Merge pull request #266 from NBISweden/specky #364
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |