-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(azure): divide build steps into smaller ones
- fix 15 min timeout
- Loading branch information
1 parent
0811f8d
commit 26d8a9e
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,11 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Build And Deploy | ||
- name: Install Dependencies | ||
run: npm install | ||
- name: Generate Optimized Images | ||
run: npm run generate:images | ||
- name: Deploy | ||
id: builddeploy | ||
uses: Azure/[email protected] | ||
with: | ||
|
@@ -27,7 +31,7 @@ jobs: | |
action: 'upload' | ||
###### Repository/Build Configurations - These values can be configured to match you app requirements. ###### | ||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig | ||
app_build_command: 'npm run ionic:build' # Defines a custom command to run during deployment of the static content application. | ||
app_build_command: 'npm run build:ionic:browser' # Defines a custom command to run during deployment of the static content application. | ||
app_location: '/' # App source code path | ||
api_location: 'api' # Api source code path - optional | ||
output_location: 'build' # Built app content directory - optional | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters