Skip to content

Commit

Permalink
OPS[app]: github action push error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmRoshani committed Dec 20, 2024
1 parent 2390ef9 commit b45602e
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,31 @@ jobs:
name: Docs
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository
- uses: actions/checkout@v2

- name: Install Python
uses: actions/setup-python@v1
# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
python-version: 3.10

- name: Install requirements
# Step 3: Install dependencies
- name: Install dependencies
run: |
pip3 install sphinx-rtd-theme
python -m pip install --upgrade pip
pip install sphinx sphinx-rtd-theme
- name: Build docs
# Step 4: Build the documentation
- name: Build documentation
run: |
cd docs
make html
# https://github.com/peaceiris/actions-gh-pages
- name: Deploy
if: success()
# Step 5: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN_FOR_SAFE_PFL }}
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html/

0 comments on commit b45602e

Please sign in to comment.