Skip to content

Merge pull request #371 from rcpch/ui-features #104

Merge pull request #371 from rcpch/ui-features

Merge pull request #371 from rcpch/ui-features #104

Workflow file for this run

name: Deploy on push to live
on:
push:
branches:
- live
permissions:
id-token: write
contents: read
pages: write
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_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
run: s/ci
- name: Setup GitHub Pages
uses: actions/configure-pages@v5
- name: Upload docs artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'staticdocs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4