mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +00:00
Merge pull request #126 from ekini/fix/frontend_fix
Use the static deployment bucket from SSM
This commit is contained in:
6
.github/workflows/cd.yml
vendored
6
.github/workflows/cd.yml
vendored
@@ -158,6 +158,8 @@ jobs:
|
||||
|
||||
- name: Deploy Console 🚀
|
||||
run: |
|
||||
DEPLOY_BUCKET=${{ env.PROJECT }}-${{ env.STACK }}
|
||||
set -u
|
||||
# this value will come from the dotenv above
|
||||
echo "Deploying to $STATIC_DEPLOY_BUCKET"
|
||||
wget -O- https://github.com/bep/s3deploy/releases/download/v2.11.0/s3deploy_2.11.0_linux-amd64.tar.gz | tar xzv -f - s3deploy
|
||||
./s3deploy -region ${AWS_REGION} -source console/dist -bucket ${DEPLOY_BUCKET}
|
||||
./s3deploy -region ${AWS_REGION} -source console/dist -bucket ${STATIC_DEPLOY_BUCKET}
|
||||
|
||||
Reference in New Issue
Block a user