Skip to content

add more details on focus areas #86

add more details on focus areas

add more details on focus areas #86

Workflow file for this run

# This is a basic workflow to help you get started with Actions
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and build the site with Rake.
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
repository_dispatch:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0']
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: true
- name: Update submodules
run: |
cd bibliography/
git branch -u origin/main main
cd ..
git submodule update --recursive --remote
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build site
run: |
set -xo pipefail
rm -rf _site/*
gem install bundler
bundle install
bundle exec jekyll build
- name: Commit and push
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _site
CLEAN: true
GIT_CONFIG_NAME: "Github Action"
GIT_CONFIG_EMAIL: actions@github.com
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}