diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..102a7fd --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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 \ No newline at end of file