Compare commits
15 Commits
05cb75df20
...
ebc6e32655
Author | SHA1 | Date | |
---|---|---|---|
ebc6e32655 | |||
66e3da412a | |||
84e5cc9cf5 | |||
d343c4c6d6 | |||
1587362235 | |||
5123480d8d | |||
fcf9bed24a | |||
9f7b3237cf | |||
e07e772e61 | |||
6bfd50b383 | |||
49b63b2fbc | |||
d3a173a0e8 | |||
0290d1c2ac | |||
0b450723b7 | |||
36d968d053 |
@ -6,7 +6,7 @@ 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
|
||||||
@ -18,14 +18,16 @@ jobs:
|
|||||||
- run: pip3 install mkdocs-material
|
- run: pip3 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user