Batch processing #1037
Workflow file for this run
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: Website | |
on: | |
push: | |
branches: | |
- gh-pages | |
- master | |
pull_request: [] | |
jobs: | |
build-website: | |
if: ${{ !endsWith(github.repository, '/styles') }} | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install GitHub Pages, Bundler, and kramdown gems | |
run: | | |
gem install github-pages bundler kramdown | |
- name: Install Python modules | |
run: | | |
python3 -m pip install --upgrade pip setuptools wheel pyyaml==5.3.1 requests | |
- name: Checkout the lesson | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- run: make site |