Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 1 #159

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/nonproduction.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
branches:
- feature*

jobs:
build:
runs-on: ubuntu-latest
env:
BUCKE_NAME: cfst-3457-dcda1c040b8f89f67c33836ce8-nonprodbucket-lxespreb6cop
steps:
- name: Chek Out
uses: actions/[email protected]
- name: configure aws cli
uses: aws-actions/configure-aws-credentials@v4
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: Set up node
uses: actions/[email protected]
with:
node-version: 14
- name: Build site
run: |
npm ci
npm run build
- name: Push to S3
run: aws s3 cp public s3://${{ env.BUCKE_NAME }}/ --recursive
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const IndexPage = () => {
<Layout>
<header>
<title>Cloud Coffee</title>
<meta name="description" content="Bringing Coffee to the Cloud" />
<meta name="description" content="Bringing Coffee to the Cloud and some major fixes" />
</header>

<main className='main'>
Expand Down