Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
ci: exclude extensions dir for VIEW3.0 in deployment flow for web (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya01 authored Aug 28, 2023
1 parent 641db63 commit 2e4b9c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-reearth-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
echo $SOURCE > $APP_PATH
echo $SOURCE > $PUBLISH_PATH
- name: Deploy
run: gsutil -m -h "Cache-Control:no-store" rsync -x "^cloud/.*$|^reearth_config\\.json$" -dr reearth-web/ ${{ env.GCS_DEST }}
run: gsutil -m -h "Cache-Control:no-store" rsync -x "^cloud/.*$|^reearth_config\\.json$|^extension/*$" -dr reearth-web/ ${{ env.GCS_DEST }}
- name: Pack web
run: |
rm reearth-web.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-reearth-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Extract
run: tar -xvf reearth-web.tar.gz
- name: Deploy
run: gsutil -m -h "Cache-Control:no-store" rsync -x "^cloud/.*$|^reearth_config\\.json$" -dr reearth-web/ ${{ env.GCS_DEST }}
run: gsutil -m -h "Cache-Control:no-store" rsync -x "^cloud/.*$|^reearth_config\\.json$|^extension/*$" -dr reearth-web/ ${{ env.GCS_DEST }}
# TODO: purge CDN cache
deploy_server:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2e4b9c6

Please sign in to comment.