Skip to content

Commit

Permalink
Update GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
webrian committed Dec 9, 2023
1 parent 4cd9299 commit 1d4ecbc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-pages-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ jobs:
cd ./scripts/; ./write-courses.py
- name: Setup Ruby environment
run: gem install jekyll bundler jekyll-youtube
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.1'
ruby-version: '3.1'
bundler-cache: true
- run: gem install jekyll-youtube
cache-version: 0

- name: Build website with Jekyll
uses: jerryjvl/jekyll-build-action@v1
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production

- name: Copy the files to the server using rsync
uses: burnett01/[email protected]
Expand Down

0 comments on commit 1d4ecbc

Please sign in to comment.