mirror of
https://github.com/ivabus/www
synced 2024-11-22 15:05:07 +03:00
bring back cdk deploy
This commit is contained in:
parent
d64dd5e8fd
commit
875e931dd1
1 changed files with 4 additions and 9 deletions
13
.github/workflows/staging.yml
vendored
13
.github/workflows/staging.yml
vendored
|
@ -86,10 +86,10 @@ jobs:
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
aws-region: us-east-1
|
aws-region: us-east-1
|
||||||
|
|
||||||
# - name: Deploy to AWS
|
- name: Deploy to AWS
|
||||||
# id: cdk_deploy
|
id: cdk_deploy
|
||||||
# run: yarn deploy
|
run: yarn deploy
|
||||||
# working-directory: .cdk
|
working-directory: .cdk
|
||||||
|
|
||||||
- name: get cdk bucket
|
- name: get cdk bucket
|
||||||
id: DEPLOY_BUCKET
|
id: DEPLOY_BUCKET
|
||||||
|
@ -104,11 +104,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NEW_BUCKET: ${{ steps.DEPLOY_BUCKET.outputs.bucket }}
|
NEW_BUCKET: ${{ steps.DEPLOY_BUCKET.outputs.bucket }}
|
||||||
|
|
||||||
# sync images from www.tea.xyz/Images/packages to wherever bucket you are
|
|
||||||
# - run: |
|
|
||||||
# aws s3 sync s3://www.tea.xyz/Images/packages \
|
|
||||||
# s3://TeaXYZ-${STAGE}/Images/packages
|
|
||||||
|
|
||||||
- name: Seal Deployment
|
- name: Seal Deployment
|
||||||
uses: bobheadxi/deployments@v1
|
uses: bobheadxi/deployments@v1
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue