-
Notifications
You must be signed in to change notification settings - Fork 30
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 #2039 from SwedbankPay/hotfix/dx-2281_test_data_up…
…date DX 2281: test data update (develop)
- Loading branch information
Showing
5 changed files
with
103 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Deploy to Azure Production CommonSvc | ||
on: | ||
push: | ||
branches: ['master'] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: build | ||
run: | | ||
docker compose run \ | ||
-e GITHUB_BRANCH=develop \ | ||
-e GITHUB_REPOSITORY_URL=https://github.com/SwedbankPay/developer.swedbankpay.com \ | ||
portal build \ | ||
--env=production \ | ||
--site-url=https://developer.swedbankpay.com | ||
- name: login | ||
uses: azure/[email protected] | ||
with: | ||
creds: '{"clientId":"${{ secrets.SUBSCRIPTION_CLIENT_ID_PROD }}","clientSecret":"${{ secrets.SUBSCRIPTION_CLIENT_SECRET_PROD }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID_PROD }}","tenantId":"${{ secrets.TENANT_ID }}"}' | ||
|
||
- name: deploy | ||
uses: azure/[email protected] | ||
with: | ||
inlineScript: az storage blob upload-batch -s _site -d "\$web" --account-name proddevelopersa1 --overwrite |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Deploy Pos Developer Branch to Azure Stage | ||
|
||
on: | ||
push: | ||
branches: ['develop-pos'] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: jekyll build | ||
run: | | ||
docker compose run \ | ||
-e GITHUB_BRANCH=develop \ | ||
-e GITHUB_REPOSITORY_URL=https://github.com/SwedbankPay/developer.swedbankpay.com \ | ||
portal build \ | ||
--env=production \ | ||
--site-url=https://developer-pos.stage.swedbankpay.com | ||
- name: azure login | ||
uses: azure/[email protected] | ||
with: | ||
creds: '{"clientId":"${{ secrets.SUBSCRIPTION_CLIENT_ID_STAGE }}","clientSecret":"${{ secrets.SUBSCRIPTION_CLIENT_SECRET_STAGE }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID_STAGE }}","tenantId":"${{ secrets.TENANT_ID }}"}' | ||
|
||
- name: azure deploy | ||
run: | | ||
az storage blob upload-batch \ | ||
--source "_site" \ | ||
--destination "\$web" \ | ||
--account-name stagedeveloperecomsa1 \ | ||
--overwrite \ | ||
--validate-content |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Deploy Ecom Developer Branch to Azure Stage | ||
|
||
on: | ||
push: | ||
branches: ['develop-pos'] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: jekyll build | ||
run: | | ||
docker compose run \ | ||
-e GITHUB_BRANCH=develop \ | ||
-e GITHUB_REPOSITORY_URL=https://github.com/SwedbankPay/developer.swedbankpay.com \ | ||
portal build \ | ||
--env=production \ | ||
--site-url=https://developer.stage.swedbankpay.com | ||
- name: azure login | ||
uses: azure/[email protected] | ||
with: | ||
creds: '{"clientId":"${{ secrets.SUBSCRIPTION_CLIENT_ID_STAGE }}","clientSecret":"${{ secrets.SUBSCRIPTION_CLIENT_SECRET_STAGE }}","subscriptionId":"${{ secrets.SUBSCRIPTION_ID_STAGE }}","tenantId":"${{ secrets.TENANT_ID }}"}' | ||
|
||
- name: azure deploy | ||
run: | | ||
az storage blob upload-batch \ | ||
--source "_site" \ | ||
--destination "\$web" \ | ||
--account-name stagedeveloperpossa1 \ | ||
--overwrite \ | ||
--validate-content |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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