Skip to content

Merge pull request #4 from RocPy/add_calendar_schedule #7

Merge pull request #4 from RocPy/add_calendar_schedule

Merge pull request #4 from RocPy/add_calendar_schedule #7

Workflow file for this run

name: Build and Deploy MkDocs
on:
push:
branches: [ "main" ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install uv
uv sync
- name: Build site
run: |
source .venv/bin/activate
mkdocs build --clean
- name: Deploy to rocpy.github.io
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_branch: main
external_repository: rocpy/rocpy.github.io
publish_dir: ./site
cname: rocpy.org