diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cdc9d28..d0140a9 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 \ No newline at end of file + - 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