瀏覽代碼

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