Skip to content

Merge remote-tracking branch 'origin/main' #13

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #13

Workflow file for this run

name: Deploy sls app
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
env:
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '21.x'
- name: install-python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install serverless
run: npm i -g serverless
- run: cd aws-sandol-api && serverless plugin install -n serverless-wsgi
- name: severless deploy
run: cd aws-sandol-api && sls deploy --verbose --force