From 39f39d48465cf95c621f5b6783a8f66ec82d5026 Mon Sep 17 00:00:00 2001 From: rajson49-hue Date: Sat, 4 Oct 2025 13:34:28 +0200 Subject: [PATCH] cd has been included --- .github/workflows/cron.yml | 14 -------------- .github/workflows/pr-verify.yml | 20 +++++++++++++++++++- 2 files changed, 19 insertions(+), 15 deletions(-) delete mode 100644 .github/workflows/cron.yml diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml deleted file mode 100644 index cd1dc536..00000000 --- a/.github/workflows/cron.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Run Every 5 Minutes -# it can be drop from schedule if they experiencing high load. -on: - schedule: - - cron: '*/59 * * * *' - -jobs: - cron: - name: Run every 5 minutes - runs-on: ubuntu-latest - - steps: - - name: Hello World - run: echo "Hello World" \ No newline at end of file diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml index ef61168a..c708580d 100644 --- a/.github/workflows/pr-verify.yml +++ b/.github/workflows/pr-verify.yml @@ -2,7 +2,7 @@ name: PR Verify # These are the veriables which you could use in your workflows env: - AZURE_WEBAPP_NAME: your-app-name # set this to the name of your Azure Web App + AZURE_WEBAPP_NAME: app-dev-rajsonawala.azurewebsites.net # set this to the name of your Azure Web App AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root DOTNET_VERSION: '8.0' # set this to the .NET Core version to use @@ -40,6 +40,24 @@ jobs: name: my-artifact path: artifacts/ + deploy_dev: + name: Deploy Dev + runs-on: ubuntu-latest + needs: build # wait for other job to finish g + + steps: + + - uses: actions/download-artifact@v4 + with: + name: my-artifact + path: artifacts/ + + # Deploy to Azure Web apps + - name: 'Deploy to Azure App Service' + uses: azure/webapps-deploy@v2 + with: + app-name: ${{ env.AZURE_WEBAPP_NAME }} # Replace with your app name + package: 'artifacts/' \ No newline at end of file