Add .gitea/workflows/build.yaml
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12328a1af5
commit
dbd76330f4
23
.gitea/workflows/build.yaml
Normal file
23
.gitea/workflows/build.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user