Skip to content

first draft diagram #104

first draft diagram

first draft diagram #104

Workflow file for this run

name: Cleanup AWS S3 Bucket
on:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- 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 }}

Check warning on line 22 in .github/workflows/cleanup-aws.yml

View workflow run for this annotation

GitHub Actions / Cleanup AWS S3 Bucket

Workflow syntax warning

.github/workflows/cleanup-aws.yml (Line: 22, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
run: aws s3 rm s3://cellpack-results/${{ github.head_ref }} --recursive