Skip to content

Merge pull request #2307 from SwedbankPay/hotfix/devp-422_hotfix_the_… #57

Merge pull request #2307 from SwedbankPay/hotfix/devp-422_hotfix_the_…

Merge pull request #2307 from SwedbankPay/hotfix/devp-422_hotfix_the_… #57

name: Deploy to Azure Production
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/login@v2.1.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS_PROD }}
- name: deploy
uses: azure/CLI@v2.0.0
with:
inlineScript: az storage blob upload-batch -s _site -d "\$web" --account-name blobdevportalprod --overwrite