Skip to content

Commit f1c0aa3

Browse files
authored
Merge pull request #21 from localstack-samples/bump-setup-localstack-0.2.2
2 parents 9c8bce5 + 4b9d2ad commit f1c0aa3

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
node-version: 18
2929

3030
- name: Start LocalStack
31-
uses: LocalStack/[email protected].0
31+
uses: LocalStack/[email protected].2
3232
env:
3333
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
3434
DNS_ADDRESS: 0

.github/workflows/preview.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v4
1515

1616
- name: Deploy Preview
17-
uses: LocalStack/[email protected].0
17+
uses: LocalStack/[email protected].2
1818
env:
1919
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
2020
with:
@@ -35,12 +35,5 @@ jobs:
3535
make bootstrap-frontend;
3636
make deploy-frontend;
3737
distributionId=$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id');
38-
echo \"PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/\" >> $GITHUB_ENV;
38+
echo LS_PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/ >> $GITHUB_ENV;
3939
40-
41-
- name: Finalize PR comment
42-
uses: LocalStack/setup-localstack/[email protected]
43-
with:
44-
github-token: ${{ secrets.GITHUB_TOKEN }}
45-
include-preview: true
46-
preview-url: ${{ env.PREVIEW_URL }}

0 commit comments

Comments
 (0)