diff --git a/.github/workflows/canvas-sync-html.yml b/.github/workflows/canvas-sync-ruby-update.yml
similarity index 79%
rename from .github/workflows/canvas-sync-html.yml
rename to .github/workflows/canvas-sync-ruby-update.yml
index dbe9a9f..f8818dc 100644
--- a/.github/workflows/canvas-sync-html.yml
+++ b/.github/workflows/canvas-sync-ruby-update.yml
@@ -1,10 +1,10 @@
-name: Sync with Canvas HTML
+name: Sync with Canvas Ruby v2.7
on:
push:
branches: [master, main]
paths:
- - "README.md"
+ - 'README.md'
jobs:
sync:
@@ -18,14 +18,14 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.6
+ ruby-version: 2.7
- 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 --forkable --contains-html
+ run: github-to-canvas -a -lr
env:
CANVAS_API_KEY: ${{ secrets.CANVAS_API_KEY }}
CANVAS_API_PATH: ${{ secrets.CANVAS_API_PATH }}