Skip to content

Commit

Permalink
ER-698: Revert deploy steps (#737)
Browse files Browse the repository at this point in the history
Co-authored-by: Sunny Sidhu <[email protected]>
  • Loading branch information
sunny-sidhu-and and sunny-sidhu-and authored Jul 25, 2023
1 parent bcb5cd3 commit 1a874b0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/azure-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

# Login to Azure using OIDC
- name: Login to Azure CLI
uses: azure/login@v1
# Create and boot Docker image builder
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
version: v0.9.1

# Login to the container registry
- name: Login to Github Container Registry
Expand All @@ -56,12 +54,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# Create and boot Docker image builder
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
version: v0.9.1

# Build and push image
- name: Build and push Docker Image
uses: docker/build-push-action@v4
Expand All @@ -78,6 +70,14 @@ jobs:
${{ env.DOCKER_IMAGE }}:${{ github.sha }}
${{ env.DOCKER_IMAGE }}:latest
# Login to Azure using OIDC
- name: Login to Azure CLI
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

# Deploy Web Application
- name: Deploy to Azure App Services
uses: azure/webapps-deploy@v2
Expand All @@ -92,4 +92,4 @@ jobs:
resource-group: ${{ secrets.AZURE_RESOURCE_GROUP }}
image: ${{ env.DOCKER_IMAGE }}:${{ github.sha }}
name: eyrecovery-worker
location: 'west europe'
location: 'west europe'

0 comments on commit 1a874b0

Please sign in to comment.