Skip to content

Commit

Permalink
feat: switch to new account
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalvas committed May 28, 2024
1 parent abe9174 commit 1b86329
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
reviewers:
- vitalvas
assignees:
- vitalvas
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::966137286427:role/github-actions-pixconf-pixconf-docs
role-to-assume: ${{ secrets.AWS_REPO_ROLE }}

- name: Deploy to S3
run: aws s3 sync build/ s3://pixconf.vitalvas.dev/ --delete --cache-control "max-age=43200, public"
run: aws s3 sync build/ s3://${{ secrets.AWS_BUCKET_SITE }} --delete --cache-control "public"

- name: Invalidate CloudFront cache
run: aws cloudfront create-invalidation --distribution-id E2S6UYEG5JNF7H --paths "/*"
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_SITE }} --paths "/*"

0 comments on commit 1b86329

Please sign in to comment.