Skip to content

Commit

Permalink
initial workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
theguy951357 committed Jan 2, 2024
1 parent 267229e commit 430d1d0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploysphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: create docker image

on:
workflow_dispatch:
inputs:
version:
description: "new version number"
required: true
12 changes: 12 additions & 0 deletions .github/workflows/prcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Docs Check"
on:
- pull_request

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
16 changes: 16 additions & 0 deletions .github/workflows/readthedocsdeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# copied from https://rtds-action.readthedocs.io/en/latest/
# need to get webhook token from readthedocs.
name: Docs
on: workflow_dispatch

jobs:
notebooks:
name: "Build the docs for readthedocs.org"
runs-on: ubuntu-latest
steps:
- name: Trigger RTDs build
uses: dfm/rtds-action@v1
with:
webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}
webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}
commit_ref: ${{ github.ref }}

0 comments on commit 430d1d0

Please sign in to comment.