Skip to content

Commit

Permalink
Github Workspace Added
Browse files Browse the repository at this point in the history
  • Loading branch information
ManjotSingh18 committed Apr 16, 2024
1 parent 94afc00 commit 72b35db
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: deploy1

on:
push:
pull_request:

jobs:
name: deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.9' #install the python version needed
- name: serverless deploy
uses: dhollerbach/github-action-serverless-with-python-requirements@master
with:
args: ''
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit 72b35db

Please sign in to comment.