Skip to content

Commit

Permalink
AUTO: replace github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lizbur10 committed Nov 17, 2023
1 parent b0c3417 commit ee519c8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 }}

0 comments on commit ee519c8

Please sign in to comment.