Skip to content

fix deploy.yml

fix deploy.yml #9

Workflow file for this run

name: Deploy main branch development
on:
pull_request:
types: [closed]
branches:
- main
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/github-action@v3.2
with:
args: serverless deploy --stage production
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}