Skip to content

Commit

Permalink
Add GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
theacodes committed Jan 3, 2025
1 parent 8e1da5f commit 1dc3241
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tabWidth": 2,
"useTabs": false,
"printWidth": 80,
"trailingComma": "all",
"bracketSameLine": true
}
20 changes: 20 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python3.12 -m pip install -r requirements.txt
- name: MkDocs publish
run: mkdocs gh-deploy --force

0 comments on commit 1dc3241

Please sign in to comment.