Merge pull request #2150 from SwedbankPay/DEVP-335-Update-info-about-… #43
Workflow file for this run
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
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/login@v1.6.1 | |
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 |