Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rugeli committed Jan 28, 2025
1 parent bbb3aa5 commit 78be345
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/cleanup-aws.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Cleanup AWS S3 Bucket

on:
push:
branches:
- fix/cleanup-aws-workflow
pull_request:
types: [closed]

Expand All @@ -16,12 +19,14 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Install AWS CLI
#install AWS CLI directly from AWS
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
# - name: Install AWS CLI
# #install AWS CLI directly from AWS
# run: |
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
# unzip awscliv2.zip
# sudo ./aws/install --update
- name: Check AWS CLI version
run: aws --version
- name: Remove files in results sub_dir
if: aws s3 ls s3://cellpack-results/${{ github.head_ref }}
run: aws s3 rm s3://cellpack-results/${{ github.head_ref }} --recursive

0 comments on commit 78be345

Please sign in to comment.