Skip to content
Snippets Groups Projects
Select Git revision
  • 21b59266ed521f0bc2cc14a446eb81a84a18cb4e
  • main default protected
  • cont-frb/moberg-review
  • v0.9.26
  • v0.9.25
  • v0.9.24
  • v0.9.23
  • v0.9.22
  • v0.9.21
  • v0.9.20
  • v0.9.19
  • v0.9.18
  • v0.9.17
  • v0.9.16
  • v0.9.15
  • v0.9.14
  • v0.9.13
  • v0.9.12
  • v0.9.11
  • v0.9.10
  • v0.9.9
  • v0.9.8
  • v0.9.7
23 results

moberg.h

Blame
  • gitlab-ci.yml 524 B
    # Set environment variable
    variables:
      CANVAS_COURSE_CODE: 0
      # Update this value to the correct course code
    
    default:
      tags:
        - docker-executor
      image: "python:3.9"
      before_script:
        - python3 -m pip install canvasapi
    
    canvas_push:
      script:
        - |
          git clone --depth=1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.control.lth.se/regler/canvassync.git 
          python3 canvassync/canvas_sync.py
      stage: deploy
      rules:
        - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # run only for pushes to main/master