We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb5205 commit b38dd66Copy full SHA for b38dd66
.github/workflows/canvas-sync-ruby-update.yml
@@ -0,0 +1,31 @@
1
+name: Sync with Canvas Ruby v2.7
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.7
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
29
+ env:
30
+ CANVAS_API_KEY: ${{ secrets.CANVAS_API_KEY }}
31
+ CANVAS_API_PATH: ${{ secrets.CANVAS_API_PATH }}
0 commit comments