From 7154374b42e51b3467201d03c46a0b702e5287b9 Mon Sep 17 00:00:00 2001 From: yitzy299 Date: Fri, 3 Sep 2021 19:52:13 +0100 Subject: [PATCH] Fix docs publishing Signed-off-by: yitzy299 --- .github/workflows/docs.yml | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d70dbae..cdc9d28 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,29 +2,29 @@ name: Release Documentation on: release: - types: [published] + types: [ published ] jobs: docs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set up python 3 - uses: actions/setup-python@v2 - with: - python-version: 3.x - - name: Install mkdocs - run: pip install mkdocs-material - - name: Install mike - run: pip install mike - - name: Set up git credentials - uses: oleksiyrudenko/gha-git-credentials@v2-latest - with: - global: true - token: ${{ secrets.USER_TOKEN }} - - name: Deploy docs - run: mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up python 3 + uses: actions/setup-python@v2 + with: + python-version: 3.x + - name: Install mkdocs + run: pip install mkdocs-material + - name: Install mike + run: pip install mike + - name: Set up git credentials + uses: oleksiyrudenko/gha-git-credentials@v2-latest + with: + global: true + token: ${{ secrets.USER_TOKEN }} + - name: Deploy docs + run: mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest \ No newline at end of file