mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 08:26:22 +02:00
33 lines
No EOL
772 B
YAML
33 lines
No EOL
772 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches: [main, master]
|
|
|
|
permissions:
|
|
contents: write
|
|
pages: write
|
|
|
|
# Prevent parallel deployments
|
|
concurrency:
|
|
group: pages-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.x'
|
|
cache: 'pip'
|
|
cache-dependency-path: 'apps/docs/requirements.txt'
|
|
|
|
- name: Install and Deploy
|
|
working-directory: apps/docs
|
|
run: |
|
|
pip install -r requirements.txt
|
|
git config user.name github-actions[bot]
|
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
|
mkdocs gh-deploy --force |