Skip to content

Update README.md

Update README.md #22

Workflow file for this run

name: Main
on: [push, workflow_dispatch]
# permissions:
# id-token: write
# contents: read
jobs:
build-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.15.0
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Run tests
run: yarn test
- name: Build
run: yarn build
- name: Export
run: yarn export
# - name: Upload SSG
# uses: actions/upload-artifact@v3
# with:
# name: SSG
# path: out
# retention-days: 1
# deploy:
# name: Deploy
# runs-on: ubuntu-latest
# needs: build-test
# steps:
# - uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-region: us-east-1
# role-to-assume: ${{ secrets.IAM_ARN }}
# role-session-name: GitHubActions
# - name: Download SSG
# uses: actions/download-artifact@v3
# with:
# name: SSG
# path: out
# - name: pwd
# run: pwd
# - name: ls
# run: ls -al
# - name: Deploy to S3
# run: bash ./scripts/s3_deploy.sh ${{ secrets.S3_BUCKET_NAME }}