Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LonoxX committed Aug 31, 2024
1 parent 8f9fcff commit ec85b41
Show file tree
Hide file tree
Showing 21 changed files with 3,542 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Push to docs branch
on:
push:
branches:
- 'main'
permissions:
contents: write
jobs:
Update_Docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config --global user.email "${{ secrets.email }}"
git config --global user.name "${{ secrets.username }}"
- name: Push to docs branch
run: |
git checkout docs || git checkout --orphan docs
git rm --ignore-unmatch -rf .
git checkout ${{ github.event.after }} -- docs
git add -A
git commit -m "Update docs (${{ github.sha }})"
git push origin docs --force
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# OS generated files #
######################
.DS_Store
.DS_Store?
.vscode
.vscode?
.obsidian
.obsidian?
Empty file added docs/.nojekyll
Empty file.
Loading

0 comments on commit ec85b41

Please sign in to comment.