From a925b4e0663d834e69e69c22bcc35b6a532866fe Mon Sep 17 00:00:00 2001
From: Connor McArthur <connor@dbtlabs.com>
Date: Mon, 13 Nov 2023 12:11:22 -0500
Subject: [PATCH] add s3 deploy script and CODEOWNERS file

---
 .github/CODEOWNERS | 2 ++
 deploy.sh          | 6 ++++++
 2 files changed, 8 insertions(+)
 create mode 100644 .github/CODEOWNERS
 create mode 100755 deploy.sh

diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 000000000..233271cca
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1,2 @@
+deploy.sh   @cmcarthur
+.github/*   @cmcarthur
\ No newline at end of file
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 000000000..ab57a1a4e
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+bundle install
+bundle exec middleman build
+aws s3 cp --recursive build/ s3://com.getdbt.hub/
+aws cloudfront create-invalidation --distribution-id E39VJ0QVYMOHEU --paths *