Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
santiago-jv authored Jun 22, 2024
1 parent 7bd948b commit 4eb11e2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Install dependencies for frontend
run: |
npm install
- name: Build Angular application
run: |
npm run build --prod
deploy:
runs-on: ubuntu-latest
Expand All @@ -31,10 +35,11 @@ jobs:
uses: actions/checkout@v4

- name: Generate deployment package
run: zip -r deploy.zip . -x '*.git*'
run: |
zip -r deploy.zip ./dist/* -x '*.git*'
- name: Elastic Beanstalk Deployment
uses: davecarlson/beanstalk-deploy@v23
- name: Deploy to Elastic Beanstalk
uses: einaregilsson/beanstalk-deploy@v1.6
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY }}
aws_secret_key: ${{ secrets.AWS_SECRET_KEY }}
Expand Down

0 comments on commit 4eb11e2

Please sign in to comment.