static/.gitea/workflows/pages.yml
xeovalyte 36ba244f07
Some checks failed
Continuous Integration / build (push) Failing after 7s
Update .gitea/workflows/pages.yml
2024-01-18 14:14:50 +01:00

31 lines
835 B
YAML

name: Continuous Integration
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
env:
CI_COMMIT_MESSAGE: Continuous Integration update docs
CI_COMMIT_AUTHOR: Continuous Integration
steps:
- uses: actions/checkout@v3
- run: apt update
- run: apt install python3-pip
- run: pip3 install mkdocs-material
- run: mkdocs build
# Commit and push all changed files.
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs)
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git add site/
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git branch -M pages
git push -u origin pages --force