mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 22:22:50 +00:00
New documentation
This commit is contained in:
commit
5bcec3a0b1
16 files changed
+609
No files matched your search
@@ -0,0 +1,32 @@
|
||||
name: build docs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- docs
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "recursive"
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.7'
|
||||
architecture: 'x64'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip # install pip
|
||||
python3 -m pip install mkdocs # install mkdocs
|
||||
python3 -m pip install mkdocs-material # install material theme
|
||||
python3 -m pip install -r ./requirements.txt
|
||||
|
||||
- name: Build site
|
||||
run: mkdocs build
|
||||
- name: Deploy
|
||||
uses: JamesIves/[email protected]
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: site
|
||||
Reference in new issue
Block a user