Skip to content

Commit

Permalink
Fix upgrade-aws
Browse files Browse the repository at this point in the history
  • Loading branch information
callms committed Nov 9, 2022
1 parent ff04f05 commit 21b070a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/upgrade-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,3 @@ jobs:
run: docker build -t 983851922138.dkr.ecr.eu-central-1.amazonaws.com/tippecanoe:latest .
- name: Push
run: docker push 983851922138.dkr.ecr.eu-central-1.amazonaws.com/tippecanoe

upgrade-aws:
name: Start Upgrade AWS
runs-on: ubuntu-latest
needs: [ecr]
steps:
- uses: actions/checkout@v2
- uses: aws-actions/configure-aws-credentials@v1
name: Configure AWS Credentials
with:
aws-access-key-id: ${{ secrets.UPGRADE_AWS_PRODUCTION_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.UPGRADE_AWS_PRODUCTION_AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- name: Start Upgrade AWS
run: 'aws stepfunctions start-execution --state-machine-arn "$(aws ssm get-parameter --name GitHubActionsUpgradeAwsStateMachine | jq ''.Parameter.Value'' -r)" --input ''{"Repository":"${{ github.repository }}","Branch":"''$(echo "${{ github.ref }}" | sed -e ''s/^refs.heads.//'')''","Revision":"${{ github.sha }}"}'''

0 comments on commit 21b070a

Please sign in to comment.