Skip to content

Commit

Permalink
Final try
Browse files Browse the repository at this point in the history
Signed-off-by: yitzy299 <[email protected]>
  • Loading branch information
yitzy299 committed Sep 3, 2021
1 parent 7154374 commit 3d631c2
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3d631c2

Please sign in to comment.