Skip to content

Commit

Permalink
add pull before badge push
Browse files Browse the repository at this point in the history
  • Loading branch information
trhallam committed Aug 15, 2024
1 parent 08250a4 commit 4d08986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mkdocs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
if: always()
run: |
git checkout gh-pages
git pull
if [ ! -d $MKDOCS_VERSION ]; then mkdir $MKDOCS_VERSION; fi
echo '{"schemaVersion":1,"label":"Docs","message":"${{ env.BADGE_MSG }}","color":"${{ env.BADGE_COLOUR }}","namedLogo":"materialformkdocs","logoColor":"white"}' | tee ./$MKDOCS_VERSION/badge-mkdocs.json
git add ./$MKDOCS_VERSION/badge-mkdocs.json
Expand Down

0 comments on commit 4d08986

Please sign in to comment.