Initial commit
This commit is contained in:
commit
24f61314a1
19 files changed
+2087
No files matched your search
@@ -0,0 +1,24 @@
|
||||
name: Build Documentation and publish 📦 to the documentation server
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
jobs:
|
||||
build:
|
||||
name: Build documentation 📦
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
- name: Build documentation
|
||||
run: uv run --locked --only-group docs mkdocs build --strict
|
||||
- name: rsync deployments
|
||||
uses: burnett01/rsync-deployments@7.0.1
|
||||
with:
|
||||
switches: -avr --delete
|
||||
path: site/*
|
||||
remote_path: ${{ gitea.event.repository.name }}
|
||||
remote_host: ${{ vars.DOCS_HOST }}
|
||||
remote_port: ${{ vars.DOCS_PORT }}
|
||||
remote_user: ${{ vars.DOCS_USER }}
|
||||
remote_key: ${{ secrets.DEPLOY_DOCS_KEY }}
|
||||
Reference in new issue
Block a user