Merge pull request #1093 from rcpch/mbarton/fix-banners-migration #66
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 on push to test ACA branch | |
on: | |
push: | |
branches: | |
- live | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout GitHub Action' | |
uses: actions/checkout@main | |
- name: 'Login via Azure CLI' | |
uses: azure/login@v2 | |
with: | |
client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
- name: 'Run CI script' | |
env: | |
AZURE_REGISTRY_NAME: ${{ secrets.AZURE_REGISTRY_NAME }} | |
AZURE_CONFIG_STORAGE_ACCOUNT: ${{ secrets.AZURE_CONFIG_STORAGE_ACCOUNT }} | |
AZURE_CONFIG_FILE_SHARE: ${{ secrets.AZURE_CONFIG_FILE_SHARE }} | |
AZURE_STAGING_APP_NAME: ${{ secrets.AZURE_STAGING_APP_NAME }} | |
AZURE_LIVE_APP_NAME: ${{ secrets.AZURE_LIVE_APP_NAME }} | |
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }} | |
run: s/ci |