diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 69cb6ceb1..597618571 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,4 +21,6 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | - ./deploy.sh + bundle exec middleman build + aws s3 cp --recursive build/ s3://com.getdbt.hub/ + aws cloudfront create-invalidation --distribution-id E39VJ0QVYMOHEU --paths * diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 89eb403a5..000000000 --- a/deploy.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -eo pipefail - -bundle install -bundle exec middleman build -aws s3 cp --recursive build/ s3://com.getdbt.hub/ -aws cloudfront create-invalidation --distribution-id E39VJ0QVYMOHEU --paths *