Update .gitea/workflows/deploy.yaml
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 1m4s

This commit is contained in:
2025-10-27 10:40:36 +00:00
parent 44ea565471
commit bd8ee5fdbc

View File

@@ -2,28 +2,25 @@ name: Deploy to Cloudflare Pages
on:
push:
branches:
- master
- master # Adjust branch if needed
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-latest # Assumes you have a Gitea runner with Ubuntu
steps:
- uses: actions/checkout@v4
- name: Install mkdocs
- name: Checkout code
uses: actions/checkout@v4 # This action is compatible with Gitea
- name: Install MkDocs
run: |
sudo apt update && sudo apt upgrade -y
sudo apt install python3 python3-pip mkdocs mkdocs-material -y
- name: Build Mkdocs
- name: Build MkDocs
run: |
mkdocs build
# mv ./docs/sitemap.xml ./site/sitemap.xml
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: /site
# Optional: If you need to move files like sitemap, uncomment and adjust:
# mv ./docs/sitemap.xml ./site/sitemap.xml
- name: Setup Node.js
uses: actions/setup-node@v4