Browse Source

chore: add sitemap update script on publish package

代强 2 years ago
parent
commit
e7ea60ae92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/publish.yml

+ 1 - 0
.github/workflows/publish.yml

@@ -38,6 +38,7 @@ jobs:
               run: |
                   git config --global user.name 'semi-bot'
                   git config --global user.email '[email protected]'
+                  node scripts/sitemap_update.js
                   if [ -n "$(git status --porcelain)" ]; then
                     echo "there are changes";
                     git add .