From cf10b5e3b04a69bad19051e86b940a2a8b937bb3 Mon Sep 17 00:00:00 2001 From: lukqw Date: Wed, 17 Jul 2024 21:50:02 +0200 Subject: [PATCH 1/2] bump version and fix preview url --- content/en/tutorials/ephemeral-application-previews/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/tutorials/ephemeral-application-previews/index.md b/content/en/tutorials/ephemeral-application-previews/index.md index 938550d9dd..77392f2406 100644 --- a/content/en/tutorials/ephemeral-application-previews/index.md +++ b/content/en/tutorials/ephemeral-application-previews/index.md @@ -111,7 +111,7 @@ The following step sets up the dependencies and deploys the application preview ```yaml - name: Deploy Preview - uses: LocalStack/setup-localstack/ephemeral/startup@v0.2.0 + uses: LocalStack/setup-localstack/ephemeral/startup@v0.2.2 with: github-token: ${{ secrets.GITHUB_TOKEN }} localstack-api-key: ${{ secrets.LOCALSTACK_API_KEY }} @@ -126,7 +126,7 @@ The following step sets up the dependencies and deploys the application preview make bootstrap-frontend make deploy-frontend distributionId=$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id') - echo "PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/" >> $GITHUB_ENV + echo LS_PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/ >> $GITHUB_ENV ``` In the provided workflow: From 38997c9d509f5c19a8c84ec3dff8694ee38301ed Mon Sep 17 00:00:00 2001 From: lukqw Date: Wed, 17 Jul 2024 21:50:58 +0200 Subject: [PATCH 2/2] update version on finish comment --- content/en/tutorials/ephemeral-application-previews/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/tutorials/ephemeral-application-previews/index.md b/content/en/tutorials/ephemeral-application-previews/index.md index 77392f2406..5765a410e7 100644 --- a/content/en/tutorials/ephemeral-application-previews/index.md +++ b/content/en/tutorials/ephemeral-application-previews/index.md @@ -140,7 +140,7 @@ To complete the process, the last step attaches the application preview URL to t ```yaml - name: Finalize PR comment - uses: LocalStack/setup-localstack/finish@v0.2.0 + uses: LocalStack/setup-localstack/finish@v0.2.2 with: github-token: ${{ secrets.GITHUB_TOKEN }} include-preview: true