From ee519c80aa929ab547d1fc88814b04be8d21cb40 Mon Sep 17 00:00:00 2001 From: Liz Burton Date: Fri, 17 Nov 2023 16:23:05 -0500 Subject: [PATCH] AUTO: replace github workflow --- .../{canvas-sync-html.yml => canvas-sync-ruby-update.yml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{canvas-sync-html.yml => canvas-sync-ruby-update.yml} (79%) 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 }}