Add .gitea/workflows/build.yaml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2023-08-12 22:57:04 +02:00
parent 12328a1af5
commit dbd76330f4

View File

@ -0,0 +1,23 @@
name: Build
on:
push:
branches:
- main
schedule:
- cron: '0 21 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install requirements
run: pip install -r requirements.txt
- name: Build documentation
run: mkdocs build
- name: Copy documentation
run: cp -r site/ /site
- name: Set permissions
run: chmod -R 777 /site