Skip to content

Commit

Permalink
Merge pull request #7 from JuliaDeNadai/cd
Browse files Browse the repository at this point in the history
cd: deploy to lambda
  • Loading branch information
JuliaDeNadai authored Sep 11, 2024
2 parents b971a06 + 8b20a64 commit b61e2b2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pipeline-merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Versão do Node.js

- name: Install dependencies
run: npm install

- name: Compile TypeScript
run: npm run build
- name: Zip Files
run: |
zip -r deployment.zip .
zip -r deployment.zip ./dist
- name: Send to Lambda
uses: appleboy/[email protected]
with:
Expand Down

0 comments on commit b61e2b2

Please sign in to comment.