Skip to content

Commit

Permalink
github workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
HYP3R00T committed Jan 22, 2025
1 parent 1714066 commit 959311f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/mkdocs_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: MkDocs Publish

on:
push:
branches:
- main # Change this to your main branch name
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Install the project
run: uv sync --all-extras --dev

- name: Build and deploy
run: |
uv run mkdocs build --verbose
uv run mkdocs gh-deploy --verbose --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dotfiles.hyperoot.dev

0 comments on commit 959311f

Please sign in to comment.