docs (#5)
Some checks failed
Deploy Gitea Pages / build-and-deploy (push) Failing after 7s

Reviewed-on: #5
Reviewed-by: gitea_admin <admin@forteapps.net>
This commit was merged in pull request #5.
This commit is contained in:
2026-04-18 18:30:43 +00:00
parent 03a0d7c9ae
commit 4b70f2f5c7
5 changed files with 82 additions and 8 deletions

View File

@@ -0,0 +1,35 @@
name: Deploy Gitea Pages
on:
push:
branches: [ main ]
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'Dockerfile.docs'
- 'nginx.conf'
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update -qq
apt-get install -y -qq python3-pip
pip3 install --break-system-packages mkdocs mkdocs-material
- run: mkdocs build
- name: Deploy to Gitea Pages
run: |
cd site
git init
git config user.name "gitea-actions"
git config user.email "actions@forteapps.net"
git add .
git commit -m "Deploy docs"
git push --force "https://x-token:${{ gitea.token }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages