File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ :lessons:
3+ - :id: 73913
4+ :course_id: 3297
5+ :canvas_url: https://learning.flatironschool.com/courses/3297/assignments/73913
6+ :type: assignment
Original file line number Diff line number Diff line change 1+ name : Sync with Canvas HTML
2+
3+ on :
4+ push :
5+ branches : [master, main]
6+ paths :
7+ - " README.md"
8+
9+ jobs :
10+ sync :
11+ name : Sync with Canvas
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - name : Set up Ruby
19+ uses : ruby/setup-ruby@v1
20+ with :
21+ ruby-version : 2.6
22+
23+ - name : Install github-to-canvas
24+ run : gem install github-to-canvas
25+
26+ # Secret stored in learn-co-curriculum Settings/Secrets
27+ - name : Sync from .canvas file
28+ run : github-to-canvas -a -lr --forkable --contains-html
29+ env :
30+ CANVAS_API_KEY : ${{ secrets.CANVAS_API_KEY }}
31+ CANVAS_API_PATH : ${{ secrets.CANVAS_API_PATH }}
You can’t perform that action at this time.
0 commit comments