diff --git a/.github/workflows/azd_deploy.yml b/.github/workflows/azd_deploy.yml index b4a8d3f..5fe3937 100644 --- a/.github/workflows/azd_deploy.yml +++ b/.github/workflows/azd_deploy.yml @@ -14,6 +14,14 @@ on: - provision - deploy - destroy + run_evals: + description: 'Run evals' + required: false + default: 'false' + type: choice + options: + - true + - false push: # Run when commits are pushed to mainline branch (main or master) # Set this to the mainline branch you are using @@ -37,17 +45,19 @@ env: AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }} AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} - RUN_EVALS: false + RUN_EVALS: ${{ github.event.inputs.run_evals || 'false' }} jobs: provision: environment: prod - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout uses: actions/checkout@v4 - - name: Install azd - uses: Azure/setup-azd@ae0f8b5482eeac61e940f447327d84c73beb8b1e + # Disabling due to embedded sudo cmdlet. + # Relying on the self-hosted runner to have azd installed + # - name: Install azd + # uses: Azure/setup-azd@ae0f8b5482eeac61e940f447327d84c73beb8b1e - name: Azure CLI Login # Uses azure/login@v2.2 uses: azure/login@a65d910e8af852a8061c627c456678983e180302 diff --git a/.github/workflows/main_staging_ci.yml b/.github/workflows/main_staging_ci.yml index eac6393..7ac90de 100644 --- a/.github/workflows/main_staging_ci.yml +++ b/.github/workflows/main_staging_ci.yml @@ -14,7 +14,7 @@ on: jobs: quality-checks: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Checkout Code 🛎️ diff --git a/README.md b/README.md index e4e88cb..e942d8a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ 🚀 **Welcome! Ready to streamline your Prior Authorization process?** Click below to get started with your deployment and unlock the full potential of AutoAuth.