Skip to content

Announcement Banner #71

Announcement Banner

Announcement Banner #71

Workflow file for this run

name: Build Jekyll site
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.0
bundler-cache: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: |
npm install
bundle install
- name: Build jekyll site
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production