Tig 3 месяцев назад
Родитель
Сommit
40d6250427
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      .github/workflows/api-docs.yml

+ 3 - 3
.github/workflows/api-docs.yml

@@ -41,17 +41,17 @@ jobs:
         path: docfx/_site
        
     - name: Deploy to GitHub Pages
-      if: github.ref_name == 'v1_release' ||  github.ref_name == 'v1_develop'
+      if: github.ref_name == 'v2_release' || github.ref_name == 'v2_develop'
       id: deployment
       uses: actions/deploy-pages@v4
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
 
-    - name: v2_develop Repository Dispatch ${{ github.ref_name }}
+    - name: v1_release Repository Dispatch ${{ github.ref_name }}
       if: github.ref_name == 'v2_develop'
       uses: peter-evans/repository-dispatch@v3
       with:
         token: ${{ secrets.V2DOCS_TOKEN }}
-        repository: gui-cs/Terminal.GuiV2Docs
+        repository: gui-cs/Terminal.GuiV1Docs
         event-type: v2_develop_push
         client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'