From 0a19b9054c6362116d5bf43869c160cf0dce8acf Mon Sep 17 00:00:00 2001
From: Albin Heimerson <albin.heimerson@control.lth.se>
Date: Mon, 16 Mar 2020 18:07:03 +0100
Subject: [PATCH] move env vars

---
 README.md     | 2 +-
 gitlab-ci.yml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index db30a53..b196a1c 100644
--- a/README.md
+++ b/README.md
@@ -4,5 +4,5 @@ File to handle automatic syncing of files between gitlab and canvas. Mor informa
 ## 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.
-* Add environment variables for the course code and canvas token in the new repo. This is done by navigating to Settings->CI/CD and adding variables. Add the variables CANVAS_COURSE_CODE and CANVAS_TOKEN with respective values (course code can be found in the url on the courses webpage, and token can be found on the wiki).
+* Modify the environment variable CANVAS_COURSE_CODE in the new file to correspond to the course code canvas uses in its url.
 * Set up a runner. Navigate to the same location as in previous step, but instead pick runners in the end. 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.
diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index 5bc7e43..5d616bc 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -1,6 +1,6 @@
-# Set environment variables
+# Set environment variable
 variables:
-  asdf: "asdf"
+  CANVAS_COURSE_CODE: 1342
 
 image: "python:3.7"
 
-- 
GitLab