Skip to content

Commit ec85b41

Browse files
committed
update docs
1 parent 8f9fcff commit ec85b41

File tree

21 files changed

+3542
-0
lines changed

21 files changed

+3542
-0
lines changed

.github/workflows/docs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Push to docs branch
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
permissions:
7+
contents: write
8+
jobs:
9+
Update_Docs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Configure Git
18+
run: |
19+
git config --global user.email "${{ secrets.email }}"
20+
git config --global user.name "${{ secrets.username }}"
21+
22+
- name: Push to docs branch
23+
run: |
24+
git checkout docs || git checkout --orphan docs
25+
git rm --ignore-unmatch -rf .
26+
git checkout ${{ github.event.after }} -- docs
27+
git add -A
28+
git commit -m "Update docs (${{ github.sha }})"
29+
git push origin docs --force

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# OS generated files #
2+
######################
3+
.DS_Store
4+
.DS_Store?
5+
.vscode
6+
.vscode?
7+
.obsidian
8+
.obsidian?

docs/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)