瀏覽代碼

Update trigger-site-rebuild.yml

Björn Ritzl 3 月之前
父節點
當前提交
867657ed93
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/trigger-site-rebuild.yml

+ 3 - 3
.github/workflows/trigger-site-rebuild.yml

@@ -18,16 +18,16 @@ jobs:
       },
       {
         name: "Create tag",
-        run: 'git tag v${{ steps.git_short_hash.outputs.hash }}'
+        run: 'git tag v${{ github.sha }}'
       },
       {
         name: "Push to tag",
-        run: 'git push origin v${{ steps.git_short_hash.outputs.hash }}'
+        run: 'git push origin v${{ github.sha }}'
       },
       {
         name: 'Release',
         uses: softprops/action-gh-release@v2,
-        with: { files: "*.zip", make_latest: true }
+        with: { files: "*.zip", make_latest: true, tag_name: 'v${{ github.sha }}' }
       },
       {
         name: 'Repository dispatch',