Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ jobs:
id: runner-ip
run: echo "ip=$(curl -s https://checkip.amazonaws.com)" >> "$GITHUB_OUTPUT"

- name: Authorize runner IP on the warehouse security group
run: |
aws ec2 authorize-security-group-ingress \
--group-id ${{ secrets.SHOPPY_DB_SECURITY_GROUP_ID }} \
--protocol tcp --port ${{ vars.SHOPPY_DB_PORT }} \
--cidr ${{ steps.runner-ip.outputs.ip }}/32

- name: Ensure that Esno executable is ready
run: yarn install --cwd api --frozen-lockfile

Expand All @@ -48,14 +41,6 @@ jobs:
cd api &&
yarn db:initialize

- name: Revoke runner IP from the warehouse security group
if: always()
run: |
aws ec2 revoke-security-group-ingress \
--group-id ${{ secrets.SHOPPY_DB_SECURITY_GROUP_ID }} \
--protocol tcp --port ${{ vars.SHOPPY_DB_PORT }} \
--cidr ${{ steps.runner-ip.outputs.ip }}/32

deploy-to-vercel:
needs: [ deploy ]
uses: ./.github/workflows/deploy-to-vercel.yml
Expand Down
Loading