Skip to content

Commit

Permalink
Removed MS Sql part from github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Handke committed Jul 2, 2024
1 parent 9d9630d commit db16cbe
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/azure-container-webapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,7 @@ jobs:
enable-AzPSSession: true


- name: Whitelist Github Runner IP
uses: azure/CLI@v1

with:
inlineScript: |
az account set --subscription "Azure for Students"
az sql server firewall-rule create \
--resource-group "${{ secrets.AZURE_RESSOURCE_GROUP }}" \
--name "${{ secrets.AZURE_RULE_NAME }}" \
--server "${{ secrets.AZURE_SERVER_NAME }}" \
--start-ip-address ${{ env.agentIP }} \
--end-ip-address ${{ env.agentIP }}



Expand All @@ -108,16 +97,7 @@ jobs:
MYSQL_PASSWORD=${{ secrets.MYSQL_PASSWORD }}
MYSQL_USER=${{ secrets.MYSQL_USER }}
- name: Remove GitHub Runner IP from Whitelist
if: always()
uses: azure/CLI@v1
with:
inlineScript: |
az account set --subscription "Azure for Students"
az sql server firewall-rule delete \
--resource-group "${{ secrets.AZURE_RESSOURCE_GROUP }}" \
--name "${{ secrets.AZURE_RULE_NAME }}" \
--server "${{ secrets.AZURE_SERVER_NAME }}" \
deploy:
Expand Down

0 comments on commit db16cbe

Please sign in to comment.