Skip to content

Update README.md

Update README.md #4

name: Sync with Canvas CodeGrade
on:
push:
branches: [master, main]
paths:
- "README.md"
jobs:
sync:
name: Sync with Canvas
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Install github-to-canvas
run: gem install github-to-canvas
# Secret stored in learn-co-curriculum Settings/Secrets
- name: Sync from .canvas file
run: github-to-canvas -a -lr --contains-html
env:
CANVAS_API_KEY: ${{ secrets.CANVAS_API_KEY }}
CANVAS_API_PATH: ${{ secrets.CANVAS_API_PATH }}