Skip to content

Commit

Permalink
add cloudfront url to the pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshCasper committed Oct 16, 2024
1 parent f1319b6 commit fc001da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ jobs:
preview-cmd: |
pip install awscli awscli-local
bash bin/deploy.sh
distributionId=$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id');
echo LS_PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/ >> $GITHUB_ENV;
env:
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}

0 comments on commit fc001da

Please sign in to comment.