Skip to content

Commit

Permalink
[github-deploy-update] misunderstood error output. reverting, updating
Browse files Browse the repository at this point in the history
biblicabeebli committed Jul 23, 2024
1 parent eae3101 commit e62a962
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -71,14 +71,14 @@ jobs:
uses: aws-actions/configure-aws-credentials@v1
with:
# these variable names differ from the second with block - sure hope you can have two of those
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: whitelist runner ip address
run: |
aws ec2 authorize-security-group-ingress \
--group-id $AWS_INSTANCE_SG_ID \
--group-id $WORKER_SECURITY_GROUP \
--protocol tcp \
--port 22 \
--cidr ${{ steps.ip.outputs.ipv4 }}/32

0 comments on commit e62a962

Please sign in to comment.