From: Tim Düsterhus Date: Tue, 2 Mar 2021 10:36:56 +0000 (+0100) Subject: Add deploy.yml X-Git-Tag: 5.6.final~303 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5144f3dd760b0a3f76303c092ae9413e447685d4;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Add 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