Add 'pages/' from commit '8c13b4fcc9270f1e57a1dc1859f2e43df9f7ca97'
git-subtree-dir: pages git-subtree-mainline:d1a4c7ee07
git-subtree-split:8c13b4fcc9
This commit is contained in:
31
pages/.gitea/workflows/pages.yml
Normal file
31
pages/.gitea/workflows/pages.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
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 -y
|
||||
- run: apt install python3-pip -y
|
||||
- run: pip3 install mkdocs-material
|
||||
|
||||
- run: mkdocs build
|
||||
- run: mv site/ deploy/
|
||||
|
||||
# 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 deploy/
|
||||
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
|
||||
git branch -M pages
|
||||
git push -u origin pages --force
|
Reference in New Issue
Block a user