Merge branch 'main' of https://git.forteapps.net/Forte/launchpad
Some checks failed
Deploy Gitea Pages / build-and-deploy (push) Failing after 6s

This commit is contained in:
2026-04-13 15:54:23 +02:00

View File

@@ -1,49 +1,34 @@
name: Deploy GitHub Pages name: Deploy Gitea Pages
on: on:
push: push:
branches: [main] branches: [ main ]
paths: paths:
- 'docs/**' - 'docs/**'
- 'mkdocs.yml' - 'mkdocs.yml'
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs: jobs:
build: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - name: Install dependencies
with: run: |
python-version: '3.12' apt-get update -qq
apt-get install -y -qq python3-pip
pip3 install --break-system-packages mkdocs mkdocs-material
- name: Install dependencies - run: mkdocs build
run: pip install mkdocs mkdocs-material
- run: mkdocs build - name: Deploy to Gitea Pages
run: |
- uses: actions/configure-pages@v5 cd site
git init
- uses: actions/upload-pages-artifact@v3 git config user.name "gitea-actions"
with: git config user.email "actions@forteapps.net"
path: './site' git add .
git commit -m "Deploy docs"
deploy: git push --force "https://x-token:${{ secrets.GITEA_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v4