Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Feb 22, 2024
1 parent 130b9a0 commit f3cd708
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::108977503313:role/github-documentation-dev
role-to-assume: arn:aws:iam::108977503313:role/github-documentation
aws-region: eu-west-1
- name: Deploy to S3
run: |
aws s3 sync ./build s3://docs-portal-dev/docs
aws s3 sync --delete ./build s3://docs-portal-dev/docs
- name: Invalidate CloudFront
run: |
aws cloudfront create-invalidation --distribution-id E1IOJWYC9REF7X --paths '/docs/*'

0 comments on commit f3cd708

Please sign in to comment.