add auto build
Dieser Commit ist enthalten in:
Ursprung
71ae293b8c
Commit
b30c57283b
1 geänderte Dateien mit 29 neuen und 0 gelöschten Zeilen
29
gh-deploy.yml
Normale Datei
29
gh-deploy.yml
Normale Datei
|
@ -0,0 +1,29 @@
|
|||
name: gh-deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: MkDocs Github Pages automatic deployment
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout main
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
- name: Install requirements
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: MkDocs gh-deploy
|
||||
run: |
|
||||
git pull
|
||||
mkdocs gh-deploy
|
Laden …
In neuem Issue referenzieren