Skip to content

Commit

Permalink
add: create ci workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Cycrypto committed Apr 2, 2024
1 parent 2b4d0ec commit cbb8128
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
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

0 comments on commit cbb8128

Please sign in to comment.