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
|
- name: Archive project
|
||||||
run: |
|
run: |
|
||||||
apt-get update -y
|
# apt-get update -y
|
||||||
apt-get install -y zip
|
# apt-get install -y zip
|
||||||
zip -r utopia-ai-hr-ats-portal-dev.zip . \
|
zip -r utopia-ai-hr-ats-portal-dev.zip . \
|
||||||
-x ".git/*" \
|
-x ".git/*" \
|
||||||
-x ".gitea/*" \
|
-x ".gitea/*" \
|
||||||
-x ".gitignore/*" \
|
-x ".gitignore/*" \
|
||||||
-x "*.DS_Store"
|
-x "*.DS_Store"
|
||||||
|
|
||||||
- name: Install AWS CLI
|
# - name: Install AWS CLI
|
||||||
run: |
|
# run: |
|
||||||
apt-get update -y
|
# apt-get update -y
|
||||||
apt-get install -y curl unzip
|
# apt-get install -y curl unzip
|
||||||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||||
unzip -q awscliv2.zip
|
# unzip -q awscliv2.zip
|
||||||
./aws/install
|
# ./aws/install
|
||||||
aws --version
|
# aws --version
|
||||||
|
|
||||||
- name: Upload files to S3
|
- name: Upload files to S3
|
||||||
env:
|
env:
|
||||||
|
|
@ -46,7 +46,7 @@ jobs:
|
||||||
AWS_DEFAULT_REGION: us-east-1
|
AWS_DEFAULT_REGION: us-east-1
|
||||||
run: |
|
run: |
|
||||||
echo "Uploading repo contents to S3..."
|
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