Skip to content
Snippets Groups Projects
Select Git revision
  • d7a150463ac3d7f326da262edfbc96079a5c683e
  • master default protected
2 results

canvassync

Name Last commit Last update
.gitlab-ci.yml
README.md
canvas_sync.py

Automatically push files from gitlab to canvas

Files and instructions to set up automatic pushing of files from gitlab to canvas. More information here.

Setup

  • Copy the .gitlab-ci.yml file from this repo and place in the root of your repo.
  • Modify the environment variable CANVAS_COURSE_CODE in the new file to correspond to the course code canvas uses in its url. This can be found by opening the canvas page for the course and looking at the url, it should be of the form https://canvas.education.lu.se/courses/ID_NUMBER/.
  • Create the folder to_canvas in the root of the gitlab repository and put any files/folders that should be synced in there. They will show up in a from_git folder in the canvas file explorer.