-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #409 from AuScope/master
Release v6.5.2
- Loading branch information
Showing
115 changed files
with
10,522 additions
and
7,571 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Azure Static Web Apps Dev CI/CD | ||
name: Deploy to Dev AuScope portal auportal-dev.geoanalytics.group | ||
|
||
on: | ||
push: | ||
|
@@ -15,10 +15,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Build and Deploy Job | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: jsdaniell/[email protected].2 | ||
- uses: jsdaniell/[email protected].3 | ||
with: | ||
name: "context.json" | ||
json: '{"portalBaseUrl":"${{ vars.AZURE_PORTAL_API_URL_DEV }}","hostUrl":"${{ vars.AZURE_PORTAL_URL_DEV }}","authBaseUrl":"${{ vars.AZURE_PORTAL_URL_DEV }}/api/"}' | ||
|
@@ -35,7 +35,10 @@ jobs: | |
app_location: "/" # App source code path | ||
api_location: "" # Api source code path - optional | ||
output_location: "dist/" # Built app content directory - optional | ||
app_build_command: "npm run build-dev" | ||
###### End of Repository/Build Configurations ###### | ||
env: | ||
SKIP_DEPLOY_ON_MISSING_SECRETS: true | ||
|
||
close_pull_request_job: | ||
if: github.event_name == 'pull_request' && github.event.action == 'closed' | ||
|
@@ -48,3 +51,5 @@ jobs: | |
with: | ||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_DUNE_0C657411E }} | ||
action: "close" | ||
env: | ||
SKIP_DEPLOY_ON_MISSING_SECRETS: true |
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 |
---|---|---|
@@ -1,26 +1,25 @@ | ||
name: Azure Static Web Apps Production CI/CD | ||
name: Deploy to Production AuScope portal portal.auscope.org.au | ||
|
||
on: | ||
push: | ||
branches: | ||
# this will be prod so set filters here to control when a release is pushed to the prod static web app | ||
- Release-6.4.0 | ||
- Release | ||
# changes committed to the Release branch will be deployed to production AuScope portal. | ||
pull_request: | ||
types: [opened, synchronize, reopened, closed] | ||
branches: | ||
# and here | ||
- Release-6.4.0 | ||
- Release | ||
|
||
jobs: | ||
build_and_deploy_job: | ||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') | ||
runs-on: ubuntu-latest | ||
name: Build and Deploy Job | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: jsdaniell/[email protected].2 | ||
- uses: jsdaniell/[email protected].3 | ||
with: | ||
name: "context.json" | ||
json: '{"portalBaseUrl":"${{ vars.AZURE_PORTAL_API_URL_PROD }}","hostUrl":"${{ vars.AZURE_PORTAL_URL_PROD }}","authBaseUrl":"${{ vars.AZURE_PORTAL_URL_PROD }}/api/", "googleAnalyticsKey": "${{ secrets.PROD_GOOGLE_ANALYTICS_KEY }}" }' | ||
|
@@ -37,6 +36,7 @@ jobs: | |
app_location: "/" # App source code path | ||
api_location: "" # Api source code path - optional | ||
output_location: "dist/" # Built app content directory - optional | ||
app_build_command: "npm run build-prod" | ||
###### End of Repository/Build Configurations ###### | ||
|
||
close_pull_request_job: | ||
|
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -42,3 +42,5 @@ testem.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
/.nx |
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
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
Oops, something went wrong.