mirror of
https://github.com/ivabus/www
synced 2024-11-25 21:35:06 +03:00
fix bucket dir
This commit is contained in:
parent
d76537f256
commit
a4ad02f573
1 changed files with 5 additions and 5 deletions
10
.github/workflows/cd.yml
vendored
10
.github/workflows/cd.yml
vendored
|
@ -79,7 +79,7 @@ jobs:
|
||||||
# cache-control of 10 mins because we *need* to be able to update
|
# cache-control of 10 mins because we *need* to be able to update
|
||||||
# this and have people see the results can be fixed well with a static site builder
|
# this and have people see the results can be fixed well with a static site builder
|
||||||
- run: |
|
- run: |
|
||||||
aws s3 sync public s3://test1.tea.xyz \
|
aws s3 sync public s3://www.tea.xyz \
|
||||||
--metadata-directive REPLACE \
|
--metadata-directive REPLACE \
|
||||||
--cache-control max-age=600 \
|
--cache-control max-age=600 \
|
||||||
--exclude '.git/*' --exclude '.github/*' \
|
--exclude '.git/*' --exclude '.github/*' \
|
||||||
|
@ -92,10 +92,10 @@ jobs:
|
||||||
#TODO create a github-action that can be used to parse the
|
#TODO create a github-action that can be used to parse the
|
||||||
# output from `s3 sync` into invalidation commands. NOTE
|
# output from `s3 sync` into invalidation commands. NOTE
|
||||||
# I have already looked for something to do this and failed.
|
# I have already looked for something to do this and failed.
|
||||||
# - run: |
|
- run: |
|
||||||
# aws cloudfront create-invalidation \
|
aws cloudfront create-invalidation \
|
||||||
# --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} \
|
--distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} \
|
||||||
# --paths '/*'
|
--paths '/*'
|
||||||
|
|
||||||
- name: Seal Deployment
|
- name: Seal Deployment
|
||||||
uses: bobheadxi/deployments@v1
|
uses: bobheadxi/deployments@v1
|
||||||
|
|
Loading…
Reference in a new issue