From d683c6ee3bb609d817852c63c5997187173f6ecc Mon Sep 17 00:00:00 2001 From: Hans-Chrstian Date: Thu, 18 Apr 2024 14:24:56 +0200 Subject: [PATCH] feat: Make continious deployment possible to azure --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 173b249..9837f14 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,7 @@ on: env: REGISTRY: ghcr.io IMAGE_NAME: ghcr.io/genomicdatainfrastructure/gdi-userportal-dataset-discovery-service + AZURE_WEBAPP_NAME: dataset-discovery-service-test jobs: ort: @@ -100,3 +101,11 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Deploy to Azure Web App + id: deploy-to-webapp + uses: azure/webapps-deploy@85270a1854658d167ab239bce43949edb336fa7c + with: + app-name: ${{ env.AZURE_WEBAPP_NAME }} + publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} + images: "${{ steps.tag.outputs.last_tag }}"