WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
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