Skip to content

modify cd directory path #22

modify cd directory path

modify cd directory path #22

Workflow file for this run

name: Deploy sls app
on:
push:
branches:
- feature/deploy
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: Install Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install serverless
run: cd aws-sandol-api && npm install -g serverless
- run: serverless plugin install -n serverless-wsgi
- name: Deploy with serverless
run: sls deploy --verbose --force