Skip to content

Commit

Permalink
Rework docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aatmun Baxi committed Dec 19, 2023
1 parent 58df9e3 commit 8bd0115
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@ on:
- master # Adjust as needed

jobs:
build:
docs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set Up Python
uses: actions/setup-python@v2
with:
python-version: 3.8 # Specify your Python version
- name: Set Up Python
uses: actions/setup-python@v2
with:
python-version: 3.8 # Specify your Python version

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Build Docs
run: |
cd docs
make html
- name: Build Docs
run: |
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html

0 comments on commit 8bd0115

Please sign in to comment.