update gitea worflows
Deploy to S3 / deploy (push) Failing after 11s
Details
Deploy to S3 / deploy (push) Failing after 11s
Details
parent
1c4a6696cc
commit
bebe87e1b7
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue