Skip to content

Commit

Permalink
Merge pull request #3 from EmitLab/auto-build
Browse files Browse the repository at this point in the history
Auto Build for Pages
  • Loading branch information
kapkic authored Aug 23, 2024
2 parents 5cc528b + 4ec6ddc commit 75e12d2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy MkDocs Site

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
pip install mkdocs
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 75e12d2

Please sign in to comment.