فهرست منبع

chore: update ci

JinMao 2 سال پیش
والد
کامیت
057b82632b
1فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 6 3
      .github/workflows/deploy.yml

+ 6 - 3
.github/workflows/deploy.yml

@@ -103,6 +103,10 @@ jobs:
           touch dist/.nojekyll
           cp dist/index.html dist/404.html
 
+      - name: Delete gh-pages branch
+        run: |
+          git push origin --delete gh-pages
+
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v2.5.0
         env:
@@ -112,6 +116,5 @@ jobs:
         with:
           forceOrphan: true
 
-      - name: Delete gh-pages branch
-        run: |
-          git push origin --delete gh-pages
+
+