Compare commits
4 Commits
ebc6e32655
...
05cb75df20
Author | SHA1 | Date | |
---|---|---|---|
05cb75df20 | |||
51cccb4b65 | |||
1f7ef0dbaa | |||
![]() |
8c13b4fcc9 |
@ -6,26 +6,29 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: Continuous Integration update docs
|
CI_COMMIT_MESSAGE: Continuous Integration update docs
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
CI_COMMIT_AUTHOR: Continuous Integration
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- run: apt update -y
|
- uses: actions/setup-python@v4
|
||||||
- run: apt install python3-pip -y
|
with:
|
||||||
- run: pip3 install mkdocs-material
|
python-version: 3.x
|
||||||
|
- run: pip install mkdocs-material
|
||||||
|
|
||||||
- run: mkdocs build
|
- run: mkdocs build
|
||||||
- run: mv site/ deploy/
|
|
||||||
|
|
||||||
# Commit and push all changed files.
|
# Commit and push all changed files.
|
||||||
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs)
|
- run: |
|
||||||
run: |
|
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git add deploy/
|
- run: |
|
||||||
|
mkdir pages
|
||||||
|
cp -r site/* pages/
|
||||||
|
- run: |
|
||||||
|
git add pages/
|
||||||
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
|
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
|
||||||
git branch -M pages
|
git pull
|
||||||
git push -u origin pages --force
|
- run: git subtree push --prefix pages origin gitea-pages
|
||||||
|
2
docs/toos/index.md
Normal file
2
docs/toos/index.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Index
|
||||||
|
Docs from Timo
|
Loading…
x
Reference in New Issue
Block a user