Skip to content

Commit

Permalink
Merge pull request #36 from Mahad-10/change-web-deployment-folder
Browse files Browse the repository at this point in the history
Deploy web to Wick directory
  • Loading branch information
Mahad-10 authored Jun 5, 2024
2 parents 5c77c26 + d6b928f commit f7efd39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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/)

0 comments on commit f7efd39

Please sign in to comment.