Merge pull request #50 from teaxyz/cdk-destroy-hashing-fix

Fix staging destroys
This commit is contained in:
Jacob Heider 2022-06-15 15:20:15 -04:00 committed by GitHub
commit 8a94ad3f6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,10 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1 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 - name: destroy the stack on AWS
run: yarn destroy run: yarn destroy
working-directory: .cdk working-directory: .cdk