Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellavance34 authored May 12, 2024
1 parent 181807d commit 1d9c860
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Installing sls framework packages
run: npm install serverless \
npm install serverless-python-requirements \
npm install serverless-wsgi \
npm install serverless-domain-manager
- name: Login in AWS
run: export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- name: Deploying prod on -AWS-
run: serverless deploy
- name: serverless deploy
uses: serverless/[email protected]
with:
args: deploy
env:
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
# test:
# image: python:3.8.1-alpine
# stage: test
Expand Down

0 comments on commit 1d9c860

Please sign in to comment.