Skip to content

Commit

Permalink
Fixed Action Lint findings
Browse files Browse the repository at this point in the history
Hoping this fixes the resource issue as well
  • Loading branch information
noremacskich committed Aug 17, 2024
1 parent 8e87ca9 commit 88f6d5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/DeployDatabaseChanges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: dotnet tool install --global dotnet-ef

- name: Add dotnet tools to PATH
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
run: echo "$HOME/.dotnet/tools" >> "$GITHUB_PATH"

- name: Restore Tools
run: dotnet tool restore
Expand All @@ -64,7 +64,7 @@ jobs:
subscription-id: ${{ secrets.EXPRESSEDREALMS_DATABASE_AZURE_SUBSCRIPTION_ID }}

- name: Add IP to Firewall
run: az postgres server firewall-rule create --resource-group ${RESOURCE_GROUP} --server ${SQL_SERVER} --name GitHubIP --start-ip-address ${IP_ADDRESS} --end-ip-address ${IP_ADDRESS}
run: az postgres server firewall-rule create --resource-group "${RESOURCE_GROUP}" --server "${SQL_SERVER}" --name GitHubIP --start-ip-address "${IP_ADDRESS}" --end-ip-address "${IP_ADDRESS}"
env:
SQL_SERVER: ${{ secrets.POSTGRES_SERVER_NAME }}
IP_ADDRESS: ${{ steps.ip.outputs.ipv4 }}
Expand All @@ -76,7 +76,7 @@ jobs:

- name: Remove IP from Firewall
if: always()
run: az postgres firewall-rule delete --resource-group ${RESOURCE_GROUP} --server ${SQL_SERVER} --name GitHubIP
run: az postgres firewall-rule delete --resource-group "${RESOURCE_GROUP}" --server "${SQL_SERVER}" --name GitHubIP
env:
SQL_SERVER: ${{ secrets.Postgres_Server_Name }}
RESOURCE_GROUP: ${{ secrets.Posgres_Resource_Group }}
SQL_SERVER: ${{ secrets.POSTGRES_SERVER_NAME }}
RESOURCE_GROUP: ${{ secrets.POSTGRES_RESOURCE_GROUP }}

0 comments on commit 88f6d5f

Please sign in to comment.