Skip to content

only load env when in local #22

only load env when in local

only load env when in local #22

Workflow file for this run

name: Deploy main branch development
on:
push:
branches:
- main
- deploy
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: serverless deploy
uses: serverless/[email protected]
with:
args: -c "cd ./apps/server && serverless deploy --stage production"
entrypoint: /bin/sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}