From b30c57283b644e914ec17f339f23fd92ad258172 Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Sat, 29 Jan 2022 17:53:55 +0100 Subject: [PATCH] add auto build --- gh-deploy.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 gh-deploy.yml diff --git a/gh-deploy.yml b/gh-deploy.yml new file mode 100644 index 000000000..b6dfdc1c3 --- /dev/null +++ b/gh-deploy.yml @@ -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