瀏覽代碼

chore: add sitemap update script on publish package

代强 2 年之前
父節點
當前提交
e7ea60ae92
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 .