Skip to content

Commit

Permalink
Update deployment-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinOomenTheDeveloper authored Jun 18, 2024
1 parent bfc9410 commit c4f4824
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deployment-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ jobs:
push-image:
name: Push to ACR
runs-on: ubuntu-latest
defaults:
run:
shell: bash
needs: [build]
env:
NEXT_PUBLIC_MUSIC_API_URL: ${{ secrets.AKS_HOST_NAME }}
Expand All @@ -69,8 +66,8 @@ jobs:
- uses: actions/checkout@v4
- name: Create .env.docker file
run: |
echo "ENV_VAR_1=${{ env.ENV_VAR_1 }}" >> .env.docker
echo "ENV_VAR_2=${{ env.ENV_VAR_2 }}" >> .env.docker
echo "NEXT_PUBLIC_MUSIC_API_URL=${{ env.NEXT_PUBLIC_MUSIC_API_URL }}" >> .env.docker
echo "NEXT_PUBLIC_MUSIC_API_URL=${{ env.NEXT_PUBLIC_MUSIC_API_URL }}" >> .env.docker
- uses: azure/docker-login@v2
with:
login-server: ${{ secrets.ACR_LOGIN_SERVER }}
Expand Down

0 comments on commit c4f4824

Please sign in to comment.