Skip to content

Commit

Permalink
Merge pull request #20 from GenomicDataInfrastructure/fix-CD-Azure
Browse files Browse the repository at this point in the history
feat: Make continious deployment possible to azure
  • Loading branch information
brunopacheco1 authored Apr 18, 2024
2 parents a65fc9f + d683c6e commit 915a235
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 915a235

Please sign in to comment.