From 333d9cd59c24bb0252f4db7bd27728f2a19048cb Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 15 Jun 2022 14:53:15 -0400 Subject: [PATCH] Fix staging destroys --- .github/workflows/cleanup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index c72e4a4..bcbe73d 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -33,6 +33,10 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 + # Interestingly, `cdk` uses a hash of the directory path, and if it doesn't exist, it can't hash it. + - name: lol wut? don't look at this. + run: mkdir public + - name: destroy the stack on AWS run: yarn destroy working-directory: .cdk