Skip to content

Commit

Permalink
feat: Make continious deployment possible to azure
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Chrstian committed Apr 18, 2024
1 parent a65fc9f commit d683c6e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}"

0 comments on commit d683c6e

Please sign in to comment.