Skip to content

Commit

Permalink
Declare environment
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitsaamir committed Aug 24, 2024
1 parent 9c341b7 commit 297ef35
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release_to_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ jobs:
uses: azure/[email protected]
with:
creds: ${{ secrets.CREDS }}
- name: Declare environment
run: |
echo "Environment: ${{ inputs.environment }}"
- name: Set web app url
run: |
echo "Setting web app url to ${{ vars.WEBAPP_URL }}"
echo "WEBAPP_URL=${{ vars.WEBAPP_URL }}" >> $GITHUB_ENV
echo "Setting web app url to ${{ secrets.WEBAPP_URL }}"
echo "WEBAPP_URL=${{ secrets.WEBAPP_URL }}" >> $GITHUB_ENV
- name: Swap slots
run: az webapp deployment slot swap -s staging -n ${{ secrets.WEBAPP_NAME }} -g ${{ secrets.RESOURCE_GROUP }}

0 comments on commit 297ef35

Please sign in to comment.