Skip to content

Commit

Permalink
add --force flag to deploy steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-connors-3 committed Sep 6, 2023
1 parent ae6970e commit 882724c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
poetry run mike deploy --push --message "Deployed by GitHub Actions" main
poetry run mike deploy --push --force --message "Deployed by GitHub Actions" main
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
poetry run mike deploy --push --message "Deploy docs for release ${{ github.event.release.tag_name }}" --update-alias $MAJOR_MINOR_VERSION latest
poetry run mike deploy --push --force --message "Deploy docs for release ${{ github.event.release.tag_name }}" --update-alias $MAJOR_MINOR_VERSION latest
poetry run mike set-default --push latest

0 comments on commit 882724c

Please sign in to comment.