瀏覽代碼

Update trigger-site-rebuild.yml

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

+ 8 - 0
.github/workflows/trigger-site-rebuild.yml

@@ -16,6 +16,14 @@ jobs:
         name: 'Create archives',
         run: 'python create_archives.py'
       },
+      {
+        name: "Create tag",
+        run: 'git tag v${{ steps.git_short_hash.outputs.hash }}'
+      },
+      {
+        name: "Push to tag",
+        run: 'git push origin v${{ steps.git_short_hash.outputs.hash }}'
+      },
       {
         name: 'Release',
         uses: softprops/action-gh-release@v2,