Skip to content

docs: update readme

docs: update readme #2

Workflow file for this run

name: CD
on:
push:
branches:
- main
- develop
jobs:
cd:
name: CD
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Serverless credentials
run: |
mkdir ~/.aws && echo "${{ secrets.AWS_LAMBDA_PROFILES }}" > ~/.aws/credentials
- name: Install Dependencies
run: npm i
# Deploy in staging
- name: Deploy staging
if: github.ref == 'refs/heads/develop'
# [TODO]
# Deploy in production
- name: Deploy production
if: github.ref == 'refs/heads/main'
# [TODO]