Skip to content

Commit

Permalink
modify cd directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
Cycrypto committed Apr 2, 2024
1 parent cbb8128 commit a17bc39
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 37 deletions.
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/workflows/ci.yml

This file was deleted.

26 changes: 14 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
name: Deploy sls app

on:
on:
push:
branches:
- feature/deploy

jobs:
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
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install serverless
run: npm i -g serverless
- run: serverless plugin install -n serverless-wsgi
- name: severless deploy
run: sls deploy --verbose --force
- uses: actions/checkout@v3
- name: Change directory to /aws-sandol-api
run: cd aws-sandol-api
- name: Install Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install serverless
run: npm install -g serverless
- run: serverless plugin install -n serverless-wsgi
- name: Deploy with serverless
run: sls deploy --verbose --force

0 comments on commit a17bc39

Please sign in to comment.