Skip to content

Commit

Permalink
chore: Update deployment commands in deploy-docs-latest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janosbabik committed Jul 1, 2024
1 parent 60f0984 commit edad301
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy-docs-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Set version
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
Expand All @@ -31,10 +28,8 @@ jobs:
- run: pip install mkdocs-material
- run: pip install mike
- name: Build and Deploy
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
working-directory: ./documentation
run: |
git fetch origin
mike deploy --update-alias --push $RELEASE_VERSION latest
mike deploy --update-alias --push $GITHUB_REF_NAME latest
mike set-default latest --push

0 comments on commit edad301

Please sign in to comment.