Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
Sets up Continuous Integration for building documentation on push.
  • Loading branch information
chrisbrickhouse authored May 15, 2020
1 parent 0b07273 commit 165a2ed
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master, documentation ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Sphinx Build
uses: ammaraskar/[email protected]
with:
docs-folder: "docs/"

0 comments on commit 165a2ed

Please sign in to comment.