Add Episode 90 - Chucker with @cortinico (#204) #423
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Website | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
jekyll: | |
runs-on: ubuntu-latest | |
container: jekyll/builder | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Install tar for caching | |
run: apk update && apk add tar | |
- uses: actions/cache@v4 | |
with: | |
path: docs/vendor/bundle | |
key: cache-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: cache-gems- | |
- name: Create Directories | |
run: | | |
mkdir _site/ | |
mkdir -p vendor/bundle/ | |
chmod -R 777 . | |
touch Gemfile.lock | |
chmod a+w Gemfile.lock | |
- name: Install Ruby Dependencies | |
run: | | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
- name: Try to build the Jekyll Website | |
run: bundle exec jekyll build --drafts --unpublished --future |