Skip to content

Commit

Permalink
🔧 add documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
roshan committed Oct 21, 2024
1 parent dad7633 commit a19d682
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will install Python dependencies, and generate documentation.

name: ccdutils documentation

on:
push:
branches:
- main

jobs:
documentation:
name: Generate documentation
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: |
pip install -r dev-requirements.txt
- run: |
cd doc
make html
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/_build/html

0 comments on commit a19d682

Please sign in to comment.