Browse Source

update yml

ruki 5 months ago
parent
commit
79467fdcef

+ 7 - 2
.github/workflows/azure-static-web-apps-thankful-water-0bb1cb90f.yml

@@ -19,7 +19,12 @@ jobs:
         with:
           submodules: true
           lfs: false
-      - name: Build And Deploy
+
+      - name: Build Site
+        run: |
+          ./scripts/build.sh
+
+      - name: Deploy
         id: builddeploy
         uses: Azure/static-web-apps-deploy@v1
         with:
@@ -30,7 +35,7 @@ jobs:
           # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
           app_location: "/" # App source code path
           api_location: "" # Api source code path - optional
-          output_location: "" # Built app content directory - optional
+          output_location: "docs/.vitepress/dist" # Built app content directory - optional
           ###### End of Repository/Build Configurations ######
 
   close_pull_request_job:

+ 2 - 1
.github/workflows/deploy.yml

@@ -14,7 +14,8 @@ jobs:
       - name: Setup Pages
         id: pages
         uses: actions/configure-pages@v5
-      - name: Build site
+
+      - name: Build Site
         run: |
           ./scripts/build.sh
       - name: Upload artifact