Skip to content

Conversation

@pww217
Copy link
Contributor

@pww217 pww217 commented May 10, 2022

Alright this took a bit of testing as you can see from the commits.

It's a bit tricky because I want it to delete items in assets/ that may be removed so we don't have to manually, but when I tried that in the root of the bucket, it deleted all the builds and examples too...

So I specified more targeted commands and it seems to work fine. We'll have to see how scalable this is as the project grows, however. It may be that we need to restructure a bit, although this is the only repo that executes s3 sync in the root directory so likely the only cause of issues.

I think this setup is perfectly safe but we may need to review from time to time if the bucket structure sees major changes.

@pww217 pww217 requested a review from mattkram May 10, 2022 20:17
@pww217 pww217 changed the title Update deploy-to-s3.yml Split aws sync into two commands; make sure hidden security.txt is synced May 10, 2022
@pww217 pww217 merged commit 19b0cd1 into main May 10, 2022
@pww217 pww217 deleted the ci-improvements branch May 12, 2022 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants