Skip to content

Commit

Permalink
New Docs pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jun 8, 2022
1 parent 418fc9f commit e4dad87
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docs_new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pages

on:
push:
branches:
- master
paths:
- "docs/**"
pull_request:
branches:
- master
paths:
- "docs/**"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Build and Commit
uses: sphinx-notes/pages@v2
with:
requirements_path: "./requirements/docs.txt"
target_path: "./rendered_docs"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages

0 comments on commit e4dad87

Please sign in to comment.