From 5144f3dd760b0a3f76303c092ae9413e447685d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 2 Mar 2021 11:36:56 +0100 Subject: [PATCH] Add deploy.yml --- .github/workflows/deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..ccbab76f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,24 @@ +name: Deploy + +on: + push: + +jobs: + deploy: + name: Deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + - run: pip3 install -r requirements.txt + - name: Prepare git + run: | + git config user.name "WoltLab GmbH" + git config user.email "woltlab@woltlab.com" + - name: Deploy documentation + run: | + mike deploy 5.4 + git status + git log gh-pages -- 2.20.1