From 188d345d80ab4dc89e370e2d7796a28c6539619d Mon Sep 17 00:00:00 2001 From: pythonicrahul Date: Sun, 18 Feb 2024 14:47:18 +0530 Subject: [PATCH] updated ci --- .github/workflows/build.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cfc849d..f06eab4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,10 +35,15 @@ jobs: - name: Upload to DigitalOcean Spaces run: | - aws s3 cp "dist/20-20-20-refresh Setup 1.0.0.exe" s3://20-20-20/app.exe --acl public-read + aws configure set profile.20-20-20 + aws configure set profile.20-20-20.region blr1 + aws configure set profile.20-20-20.s3.endpoint https://20-20-20.blr1.digitaloceanspaces.com + aws configure set profile.20-20-20.s3.force_path_style true + aws configure set profile.20-20-20.s3.signature_version s3v4 + aws configure set profile.20-20-20.credential_source "environment" + aws s3 cp "dist/20-20-20-refresh Setup 1.0.0.exe" s3://20-20-20/app.exe --acl public-read --profile 20-20-20 env: AWS_ACCESS_KEY_ID: ${{ secrets.DO_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.DO_SECRET_ACCESS_KEY }} - AWS_REGION: BLR1 - + AWS_REGION: blr1 \ No newline at end of file