This repository was archived by the owner on Jul 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4747 STACK_RATE_LIMIT : 10
4848 environment :
4949 name : development
50- url : https://a0d353yb39.execute-api.us-east-1.amazonaws.com/
50+ url : ${{ steps.deploy.outputs.api_url }}
5151 defaults :
5252 run :
5353 working-directory : infrastructure/aws
5757 with :
5858 role-to-assume : arn:aws:iam::390960605471:role/labs-375-stac-fastapi-geoparquet-github-actions
5959 role-session-name : stac-fastapi-geoparquet-deploy
60- aws-region : us-east-1
60+ aws-region : us-west-2
6161 - uses : actions/setup-node@v2
6262 with :
6363 node-version : 22
6969 - name : CDK Synth
7070 run : uv run --only-group deploy npm run cdk -- synth
7171 - name : CDK Deploy
72+ id : deploy
7273 run : |
7374 uv run --only-group deploy npm run cdk -- deploy --require-approval never
7475 aws s3 cp ../../data/naip.parquet s3://${STACK_BUCKET_NAME}/${STACK_GEOPARQUET_KEY}
7576 API_URL=$(aws cloudformation describe-stacks --stack-name ${STACK_NAME}-${STACK_STAGE} --query 'Stacks[0].Outputs[?OutputKey==`ApiURL`].OutputValue' --output text)
7677 echo "::notice title=API URL::${API_URL}"
78+ echo api_url=$API_URL >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments