Archie Wood commited on
Commit
c76ef2c
1 Parent(s): 25ed0cc

update app build command

Browse files
.github/workflows/azure-static-web-apps-thankful-hill-01fbff51e.yml CHANGED
@@ -32,9 +32,6 @@ jobs:
32
  const coredemo = require('@actions/core')
33
  return await coredemo.getIDToken()
34
  result-encoding: string
35
- - name: Run Sources
36
- id: sources
37
- run: npm run sources
38
  - name: Build And Deploy
39
  id: builddeploy
40
  uses: Azure/static-web-apps-deploy@v1
@@ -46,6 +43,7 @@ jobs:
46
  app_location: "/" # App source code path
47
  api_location: "" # Api source code path - optional
48
  output_location: "/build" # Built app content directory - optional
 
49
  github_id_token: ${{ steps.idtoken.outputs.result }}
50
  ###### End of Repository/Build Configurations ######
51
 
 
32
  const coredemo = require('@actions/core')
33
  return await coredemo.getIDToken()
34
  result-encoding: string
 
 
 
35
  - name: Build And Deploy
36
  id: builddeploy
37
  uses: Azure/static-web-apps-deploy@v1
 
43
  app_location: "/" # App source code path
44
  api_location: "" # Api source code path - optional
45
  output_location: "/build" # Built app content directory - optional
46
+ app_build_command: "npm run sources && npm run build"
47
  github_id_token: ${{ steps.idtoken.outputs.result }}
48
  ###### End of Repository/Build Configurations ######
49