diff --git a/.github/workflows/pgdb-create.yaml b/.github/workflows/pgdb-create.yaml index 83f1b71..51c8d6f 100644 --- a/.github/workflows/pgdb-create.yaml +++ b/.github/workflows/pgdb-create.yaml @@ -29,10 +29,10 @@ jobs: - name: Deploy PG Flexible Server run: | echo "Generate Random PostgreSQL Server Name" - PGDB_NAME="pg-rest-api-test-$RANDOM" + PGDB_NAME="pg-rest-api-westeurope" - echo "Get Runner Public IP" - IP=$(curl -s https://ifconfig.me) + # echo "Get Runner Public IP" + # IP=$(curl -s https://ifconfig.me) echo "Create PostgreSQL Flexible Server" az postgres flexible-server create \ @@ -44,16 +44,16 @@ jobs: --tier Burstable \ --sku-name Standard_B1ms \ --storage-size 32 \ - --version 16 \ - --public-access 13.82.232.186 + --version 16 + # --public-access 13.82.232.186 - echo "Add Firewall Rule" - az postgres flexible-server firewall-rule create \ - --resource-group $RESOURCE_GROUP \ - --name $PGDB_NAME \ - --rule-name github-temp \ - --start-ip-address $IP \ - --end-ip-address $IP + # echo "Add Firewall Rule" + # az postgres flexible-server firewall-rule create \ + # --resource-group $RESOURCE_GROUP \ + # --name $PGDB_NAME \ + # --rule-name github-temp \ + # --start-ip-address $IP \ + # --end-ip-address $IP echo "Check PostgreSQL server status" az postgres flexible-server show \