Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Start apps in Test server #959

Start apps in Test server

Start apps in Test server #959

name: Start apps in Test server
on:
workflow_dispatch:
# push:
# branches:
# - feature/9537-schedulemaintenance_DemoandTest
schedule:
- cron: "0 5 * * MON" #UTC-5
- cron: '0 11 * * 1-5'
env:
AZURE_CREDENTIALS: '{"clientId":"${{ secrets.REPO_AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.REPO_AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.REPO_AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.REPO_AZURE_TENANT_ID }}"}'
jobs:
alert_stale_branches:
name: Start Test Subscription apps
runs-on: ubuntu-latest
steps:
- name: Check Out Changes
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
# Login to Azure
- uses: azure/login@v3
with:
creds: ${{ env.AZURE_CREDENTIALS }}
- name: Start postgres
uses: ./.github/actions/Start-PostgresDB
with:
name: "pdhtest-pgsql-flex"
resource-group: prime-data-hub-test
subscription: OCIO-DMZ-C1
- name: Start function app
uses: ./.github/actions/Start-AzFunction
with:
resourceGroupName: prime-data-hub-test
Subscription: "OCIO-DMZ-C1"
functionName: pdhtest-functionapp
functionAppName: pdhtest-functionapp