File to handle automatic syncing of files between gitlab and canvas. Mor information [here](https://wiki.control.lth.se/versionControl/canvasSync).
File to handle automatic syncing of files between gitlab and canvas. Mor information [here](https://wiki.control.lth.se/versionControl/canvasSync).
## Setup
## Setup
To set this up for a new repo there are three steps:
* Copy the gitlab-ci.yml file from this repo and place in the root of the new repo with the name .gitlab-ci.yml, notice the dot at the start of the name.
* Copy the gitlab-ci.yml file from this repo and place in the root of the new repo with the name .gitlab-ci.yml, notice the dot at the start of the name.
* Modify the environment variable CANVAS_COURSE_CODE in the new file to correspond to the course code canvas uses in its url.
* Modify the environment variable CANVAS_COURSE_CODE in the new file to correspond to the course code canvas uses in its url.
* Navigate to Settings->CI/CD and select Runners. Here are instructions on how to set up your computer as a runner for this project. Hopefully we will soon get shared runners so that we can skip this step.