Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/dev_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
types:
- closed
workflow_dispatch:
permissions:
id-token: write
contents: read

jobs:
Build:
Expand All @@ -29,9 +32,12 @@ jobs:
name: Development
runs-on: ubuntu-latest
steps:
- name: Login to Azure
uses: azure/login@v2.0.0
with:
creds: ${{secrets.TDEI_CORE_AZURE_CREDS}}
- name: Deploy to Dev
uses: azure/webapps-deploy@v2
with:
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: ${{ secrets.REGISTRY_DOMAIN }}/${{ secrets.REGISTRY_REPO }}:${{ github.sha }}
8 changes: 7 additions & 1 deletion .github/workflows/stage_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
types:
- closed
workflow_dispatch:
permissions:
id-token: write
contents: read

jobs:
Build:
Expand All @@ -29,9 +32,12 @@ jobs:
name: Stage
runs-on: ubuntu-latest
steps:
- name: Login to Azure
uses: azure/login@v2.0.0
with:
creds: ${{secrets.TDEI_CORE_AZURE_CREDS}}
- name: Deploy to Stage
uses: azure/webapps-deploy@v2
with:
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: ${{ secrets.REGISTRY_DOMAIN }}/${{ secrets.REGISTRY_REPO }}:${{ github.sha }}.