From bebe87e1b735bddf529510e38636dac660b8a135 Mon Sep 17 00:00:00 2001 From: "yaseen.zafar" Date: Mon, 14 Sep 2026 21:59:38 +0500 Subject: [PATCH] update gitea worflows --- .gitea/workflows/deploy-to-s3.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/deploy-to-s3.yml b/.gitea/workflows/deploy-to-s3.yml index 8141530..824bae8 100644 --- a/.gitea/workflows/deploy-to-s3.yml +++ b/.gitea/workflows/deploy-to-s3.yml @@ -22,22 +22,22 @@ jobs: - name: Archive project run: | - apt-get update -y - apt-get install -y zip + # apt-get update -y + # apt-get install -y zip zip -r utopia-ai-hr-ats-portal-dev.zip . \ -x ".git/*" \ -x ".gitea/*" \ -x ".gitignore/*" \ -x "*.DS_Store" - - name: Install AWS CLI - run: | - apt-get update -y - apt-get install -y curl unzip - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" - unzip -q awscliv2.zip - ./aws/install - aws --version + # - name: Install AWS CLI + # run: | + # apt-get update -y + # apt-get install -y curl unzip + # curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" + # unzip -q awscliv2.zip + # ./aws/install + # aws --version - name: Upload files to S3 env: @@ -46,7 +46,7 @@ jobs: AWS_DEFAULT_REGION: us-east-1 run: | echo "Uploading repo contents to S3..." - aws s3 cp utopia-ai-hr-ats-portal-dev.zip s3://utopia-ai-s3-bucket/utopia-ai-hr-ats-portal-dev.zip + aws s3 cp utopia-ai-hr-ats-portal-dev.zip s3://utopia-ai-s3-bucket-us-west-1/utopia-ai-hr-ats-portal-dev.zip --region us-west-1