remove docs wf
This commit is contained in:
34
.github/workflows/docs.yml
vendored
34
.github/workflows/docs.yml
vendored
@@ -1,34 +0,0 @@
|
|||||||
name: Deploy Gitea Pages
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
paths:
|
|
||||||
- 'docs/**'
|
|
||||||
- 'mkdocs.yml'
|
|
||||||
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:${{ secrets.GITEA_TOKEN }}@git.forteapps.net/Forte/launchpad.git" HEAD:gitea-pages
|
|
||||||
Reference in New Issue
Block a user