From 315bcea79d8cf710bf19cc9f2058339b9fff27d3 Mon Sep 17 00:00:00 2001 From: Gwyneth Pena-Siguenza Date: Wed, 27 Nov 2024 16:50:16 -0500 Subject: [PATCH] removed workflows that are no longer in use --- .../workflows/azure-functions-app-dotnet.yml | 2 - .github/workflows/deploytoflex.yml | 48 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 .github/workflows/deploytoflex.yml diff --git a/.github/workflows/azure-functions-app-dotnet.yml b/.github/workflows/azure-functions-app-dotnet.yml index 20cf19a..a57b361 100644 --- a/.github/workflows/azure-functions-app-dotnet.yml +++ b/.github/workflows/azure-functions-app-dotnet.yml @@ -2,8 +2,6 @@ name: Deploy .NET isolated Azure Function App on: workflow_dispatch: - push: - branches: [main] env: AZURE_FUNCTIONAPP_NAME: 'clouddictionary' # set this to your function app name on Azure diff --git a/.github/workflows/deploytoflex.yml b/.github/workflows/deploytoflex.yml deleted file mode 100644 index e2000ab..0000000 --- a/.github/workflows/deploytoflex.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Deploy .NET isolated Azure Function App Flex - -on: - workflow_dispatch: - push: - branches: [main] - -env: - AZURE_FUNCTIONAPP_NAME: 'definethecloudapi' # set this to your function app name on Azure - AZURE_FUNCTIONAPP_PACKAGE_PATH: 'src' # set this to the path to your function app project, defaults to the repository root - DOTNET_VERSION: '8.0.x' # set this to the dotnet version to use (e.g. '2.1.x', '3.1.x', '5.0.x') - -jobs: - build-and-deploy: - runs-on: ubuntu-latest # For Linux, use ubuntu-latest - environment: dev - steps: - - name: 'Checkout GitHub Action' - uses: actions/checkout@v3 - - - name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment - uses: actions/setup-dotnet@v3 - with: - dotnet-version: ${{ env.DOTNET_VERSION }} - - - name: 'Resolve Project Dependencies Using Dotnet' - shell: pwsh # For Linux, use bash - run: | - pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}' - dotnet build --configuration Release --output ./output - popd - - - name: 'Run Unit Tests' - shell: pwsh # For Linux, use bash - run: | - pushd './tests' - dotnet test --verbosity normal - popd - - - name: 'Run Azure Functions Action' - uses: Azure/functions-action@v1 - id: fa - with: - app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }} - package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output' - publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE_FLEX}} # Remove publish-profile to use Azure RBAC - scm-do-build-during-deployment: true - enable-oryx-build: true