mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Add GitHub actions for documentation
This commit is contained in:
parent
7dc2a0ddaf
commit
d1846731f8
1 changed files with 28 additions and 0 deletions
28
.github/workflows/docs.yml
vendored
Normal file
28
.github/workflows/docs.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
name: Build docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev-3.x
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Install dependencies
|
||||||
|
uses: abatilo/actions-poetry@v1.0.0
|
||||||
|
with:
|
||||||
|
args: install
|
||||||
|
- name: Build MkDocs
|
||||||
|
uses: abatilo/actions-poetry@v1.0.0
|
||||||
|
with:
|
||||||
|
args: run mkdocs build
|
||||||
|
- name: FTP-Deploy-2038
|
||||||
|
uses: SamKirkland/FTP-Deploy-Action@2.0.0
|
||||||
|
env:
|
||||||
|
FTP_SERVER: 2038.host
|
||||||
|
FTP_USERNAME: ${{ secrets.DOCS_FTP_USERNAME }}
|
||||||
|
FTP_PASSWORD: ${{ secrets.DOCS_FTP_PASSWORD }}
|
||||||
|
LOCAL_DIR: site
|
||||||
|
REMOTE_DIR: public
|
||||||
Loading…
Add table
Add a link
Reference in a new issue