Skip to content

Merge branch 'develop' into feature/serverless #12

Merge branch 'develop' into feature/serverless

Merge branch 'develop' into feature/serverless #12

Workflow file for this run

name: Deploy preview branch
on:
push:
branches:
- feature/serverless
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
environment: preview
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install --frozen-lockfile
- name: Add serverless
run: yarn global add serverless
- name: Install Plugin & Deploy
run: cd ./functions && serverless deploy
env:
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}