From 210ac08f803b73030757cfb490643900dd8915bd Mon Sep 17 00:00:00 2001 From: Sarah Dutkiewicz Date: Fri, 20 Dec 2024 14:51:26 -0500 Subject: [PATCH 1/3] Moving from ubuntu-18.04 to ubuntu-latest; updated webapp to linux name --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a722e142..66667711 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: publish env: - AZURE_WEBAPP_NAME: devBetter + AZURE_WEBAPP_NAME: devBetter-linux AZURE_GROUP_NAME: DevBetterGroup AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root @@ -12,7 +12,7 @@ on: jobs: build-and-deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 1a4c02349050ebbbf37b11ab837b1f75657cf16f Mon Sep 17 00:00:00 2001 From: Sarah Dutkiewicz Date: Fri, 20 Dec 2024 14:51:51 -0500 Subject: [PATCH 2/3] Removing windows-latest from CI/CD --- .github/workflows/ci-cd.yml | 4 ++-- .github/workflows/dotnetcore.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 27497976..b0a1d4db 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -12,7 +12,7 @@ jobs: name: Continuous Integration strategy: matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} outputs: is_push_to_default_branch: ${{ steps.conditionals_handler.outputs.is_push_to_default_branch }} @@ -104,7 +104,7 @@ jobs: if: needs.ci.outputs.is_push_to_default_branch == 'true' name: Continuous Deployment needs: ci - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Download publish artifacts id: dl_publish_artifacts diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 3b1ebd9f..707f06b0 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -5,7 +5,7 @@ on: [pull_request, workflow_dispatch] jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest env: VIMEO_TOKEN: ${{ secrets.VIMEO_TOKEN }} From cc608805f002fb34f5b788e60b7f27a23f137bae Mon Sep 17 00:00:00 2001 From: Sarah Dutkiewicz Date: Fri, 20 Dec 2024 15:16:52 -0500 Subject: [PATCH 3/3] Fixing app service name --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 66667711..7aa6cdec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: publish env: - AZURE_WEBAPP_NAME: devBetter-linux + AZURE_WEBAPP_NAME: devbetter-linux AZURE_GROUP_NAME: DevBetterGroup AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root