Files
PythonRobotics/.github/workflows/gh-pages.yml
dependabot[bot] e7d0a219c6 Bump sphinx-notes/pages from 2 to 3 (#884)
Bumps [sphinx-notes/pages](https://github.com/sphinx-notes/pages) from 2 to 3.
- [Release notes](https://github.com/sphinx-notes/pages/releases)
- [Commits](https://github.com/sphinx-notes/pages/compare/v2...v3)

---
updated-dependencies:
- dependency-name: sphinx-notes/pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 22:09:14 +09:00

30 lines
773 B
YAML

name: Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup python
uses: actions/setup-python@v4
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
python -m pip install -r requirements/requirements.txt
- name: Build and Commit
uses: sphinx-notes/pages@v3
with:
requirements_path: ./docs/doc_requirements.txt
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages