فهرست منبع

Forgot to run prod build

Matt 5 سال پیش
والد
کامیت
4c737475d4
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      .github/workflows/main.yml

+ 3 - 2
.github/workflows/main.yml

@@ -19,12 +19,13 @@ jobs:
       run: |
       run: |
         npx grunt test
         npx grunt test
         sudo npx grunt testnodeconsumer
         sudo npx grunt testnodeconsumer
+    - name: Production Build
+      run: npx grunt prod
     - name: UI Tests
     - name: UI Tests
       run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
       run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
-    - name: Build & Deploy
+    - name: Deploy
       uses: JamesIves/github-pages-deploy-action@master
       uses: JamesIves/github-pages-deploy-action@master
       env:
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         BRANCH: gh-pages
         BRANCH: gh-pages
         FOLDER: build/prod
         FOLDER: build/prod
-        BUILD_SCRIPT: npx grunt prod