mirror of
https://github.com/TxtDot/documentation.git
synced 2025-02-22 12:23:12 +03:00
doc: add poetry and deploy
This commit is contained in:
parent
9fe5869853
commit
a590d5b0a1
5 changed files with 928 additions and 5 deletions
24
.github/workflows/gh-pages-deploy.yml
vendored
Normal file
24
.github/workflows/gh-pages-deploy.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Deploy pages
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy pages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
- name: Build pages
|
||||
run: poetry run mkdocs build
|
||||
- name: Deploy pages
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: site
|
Loading…
Add table
Reference in a new issue