mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-05-05 11:40:23 -05:00
Created the "upload_docs" workflow
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Deploy documentation to GitHub
|
||||
on:
|
||||
push:
|
||||
branches: [ "development" ]
|
||||
paths: [ "docs/**" ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install mkdocs-material
|
||||
|
||||
- name: Deploy documentation
|
||||
run: mkdocs gh-deploy --force
|
||||
Reference in New Issue
Block a user