diff --git a/.github/workflows/nonproduction.yaml b/.github/workflows/nonproduction.yaml
new file mode 100644
index 00000000..8d676d44
--- /dev/null
+++ b/.github/workflows/nonproduction.yaml
@@ -0,0 +1,31 @@
+name: Deploy feature branches to nonproduction bucket
+on:
+ push:
+ branches:
+ - feature*
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ env:
+ BUCKET_NAME: cfst-3457-7e4918e34287cd70b855b308c-nonprodbucket-1qd1lcrp70u0k
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+ - name: Configure AWS cli
+ uses: aws-actions/configure-aws-credentials@v1
+ with:
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: us-east-1
+ - name: Use Node.js
+ uses: actions/setup-node@v2
+ with:
+ node-version: 14
+ - name: Build
+ run: |
+ npm ci
+ npm run build
+ - name: Deploy bundle to bucket
+ run: |
+ echo 'copying files to s3 bucket'
+ aws s3 cp public s3://${{ env.BUCKET_NAME }}/ --recursive
\ No newline at end of file
diff --git a/.github/workflows/producion.yaml b/.github/workflows/producion.yaml
new file mode 100644
index 00000000..cdf68a9f
--- /dev/null
+++ b/.github/workflows/producion.yaml
@@ -0,0 +1,33 @@
+name: Deploy to production
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ env:
+ BUCKET_NAME: cfst-3457-7e4918e34287cd70b855b308c9a6-prodbucket-nsexcdkffy4h
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+ - name: Configure AWS cli
+ uses: aws-actions/configure-aws-credentials@v1
+ with:
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: us-east-1
+ - name: Use Node.js
+ uses: actions/setup-node@v2
+ with:
+ node-version: 14
+ - name: Build
+ run: |
+ npm ci
+ npm run build
+ - name: Deploy bundle to bucket
+ run: |
+ echo 'copying files to s3 bucket'
+ aws s3 cp public s3://${{ env.BUCKET_NAME }}/ --recursive
\ No newline at end of file
diff --git a/src/pages/index.js b/src/pages/index.js
index e72936a2..a1724980 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -20,6 +20,7 @@ const IndexPage = () => {
Cloud Coffee
+
Join Our Mailing List!