From d6c798e44381fd436a264229f94f19528382c136 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Sat, 14 Nov 2020 01:27:34 +0100 Subject: Fix a bug in s3 cleanup action --- .github/workflows/s3-cleanup.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/s3-cleanup.yml b/.github/workflows/s3-cleanup.yml index 5193290d..19876bf2 100644 --- a/.github/workflows/s3-cleanup.yml +++ b/.github/workflows/s3-cleanup.yml @@ -3,7 +3,6 @@ name: S3-cleanup on: delete env: - branch-name: ${GITHUB_REF#refs/heads/} bucket-name: 'dokka-snapshots' jobs: @@ -18,4 +17,4 @@ jobs: aws-region: eu-central-1 - name: Delete branch from s3 - run: aws s3 --recursive rm s3://${{ env.bucket-name }}/${{ env.branch-name }} + run: aws s3 --recursive rm s3://${{ env.bucket-name }}/${{ github.event.ref }} -- cgit