From 390adbf72a7191677ab3e1ae79c43eeddd12a789 Mon Sep 17 00:00:00 2001 From: Mahad Date: Wed, 5 Jun 2024 14:00:11 +0500 Subject: [PATCH 1/3] Deploy web to Wick directory --- .github/workflows/upload.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml index 161c3be..c4f4cef 100644 --- a/.github/workflows/upload.yaml +++ b/.github/workflows/upload.yaml @@ -31,7 +31,7 @@ jobs: aws-region: us-east-1 - name: Deploy static site to S3 bucket - run: aws s3 cp ./build/web/ s3://${{ secrets.AWS_BUCKET }}/wick-web/ --recursive + run: aws s3 cp ./build/web/ s3://${{ secrets.AWS_BUCKET }}/wick/ --recursive - name: Invalidate CloudFront - run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/wick-web/*" + run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/wick/*" From 347bce0a7e390e47d04753185b5c5405d315fb46 Mon Sep 17 00:00:00 2001 From: Mahad Date: Wed, 5 Jun 2024 14:01:14 +0500 Subject: [PATCH 2/3] build web in wick directory --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6b46b1..a8c51c7 100644 --- a/Makefile +++ b/Makefile @@ -23,4 +23,4 @@ build-web: flutter build web --release build-web-ci: - flutter build web --release --base-href "/wick-web/" + flutter build web --release --base-href "/wick/" From d6b928f17c7c62e0e97772dd1a35807f5c4d3c76 Mon Sep 17 00:00:00 2001 From: Mahad Date: Wed, 5 Jun 2024 14:12:46 +0500 Subject: [PATCH 3/3] README: change web app url --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c8b70bc..0e503f9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ + # wick-ui WAMP API tester with a UI -Web app deployed at https://app.xconn.io/wick-web/ +Web app deployed at [Wick](https://app.xconn.io/wick/)