Compare commits
4 Commits
ebc6e32655
...
05cb75df20
Author | SHA1 | Date | |
---|---|---|---|
05cb75df20 | |||
51cccb4b65 | |||
1f7ef0dbaa | |||
![]() |
8c13b4fcc9 |
@ -6,26 +6,29 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: pip 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: |
|
||||
- run: |
|
||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
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 branch -M pages
|
||||
git push -u origin pages --force
|
||||
git pull
|
||||
- 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