summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-03-30 20:04:01 +0000
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-03-30 20:04:01 +0000
commit6c64d364858f6859934093be8333bc125ef79a5f (patch)
treede183ff7d5505553fcab982b113a54fc1353da77
parent7ec80d3242ad05b7e07cabbbc6c4a94339484d93 (diff)
Revert "Moves role-to-assume to bottom"
This reverts commit 7ec80d3242ad05b7e07cabbbc6c4a94339484d93.
-rw-r--r--.github/workflows/build-and-deploy.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml
index 9176dc1..f842760 100644
--- a/.github/workflows/build-and-deploy.yml
+++ b/.github/workflows/build-and-deploy.yml
@@ -34,8 +34,8 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: eu-west-2
+ role-to-assume: arn:aws:iam::586397755132:user/personal-website-github-actions
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- role-to-assume: arn:aws:iam::586397755132:user/personal-website-github-actions
- name: Sync S3 bucket
run: aws s3 sync ./dist/ s3://joeac-personal-website --delete