mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(svcs): ♻️🔥 abandon Aspire publishing
This commit is contained in:
parent
e0647a1303
commit
a0c337e0ab
2 changed files with 0 additions and 56 deletions
48
.github/workflows/azure-dev.yml
vendored
48
.github/workflows/azure-dev.yml
vendored
|
|
@ -1,48 +0,0 @@
|
|||
name: Build and Deploy Services
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- aspire
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
|
||||
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
|
||||
AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}
|
||||
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
|
||||
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
|
||||
AZURE_DEV_COLLECT_TELEMETRY: "no"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install azd
|
||||
uses: Azure/setup-azd@v1.0.0
|
||||
|
||||
- name: Install .NET Aspire workload
|
||||
run: dotnet workload install aspire
|
||||
|
||||
- name: Log in with Azure (Federated Credentials)
|
||||
if: ${{ env.AZURE_CLIENT_ID != '' }}
|
||||
run: |
|
||||
azd auth login `
|
||||
--client-id "$Env:AZURE_CLIENT_ID" `
|
||||
--federated-credential-provider "github" `
|
||||
--tenant-id "$Env:AZURE_TENANT_ID"
|
||||
shell: pwsh
|
||||
|
||||
- name: Provision Infrastructure
|
||||
run: azd provision --no-prompt -C services/FilterLists.AppHost
|
||||
env:
|
||||
AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }}
|
||||
|
||||
- name: Deploy Application
|
||||
run: azd deploy --no-prompt -C services/FilterLists.AppHost
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
|
||||
|
||||
name: FilterLists.AppHost
|
||||
services:
|
||||
app:
|
||||
language: dotnet
|
||||
project: ./FilterLists.AppHost.csproj
|
||||
host: containerapp
|
||||
Loading…
Reference in a new issue