23 lines
539 B
YAML
23 lines
539 B
YAML
# Workflow for CPP
|
|
name: Jekyll
|
|
|
|
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
|
|
on:
|
|
pull_request:
|
|
types: [synchronize, opened, reopened, ready_for_review]
|
|
paths:
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
jekyll:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Get dependencies (FIXME-UPSTREAM)
|
|
run: sudo gem install jekyll
|
|
|
|
- name: Building..
|
|
# FIXME: Avoid using `cd`
|
|
run: cd docs && jekyll build
|