Skip to content

Merge pull request #37 from open-source-labs/troutman21-patch-1 #34

Merge pull request #37 from open-source-labs/troutman21-patch-1

Merge pull request #37 from open-source-labs/troutman21-patch-1 #34

Workflow file for this run

name: Deploy-to-eb
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Node install
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install npm dependencies
run: npm install
- name: Build Website Assets
run: npm run build
- name: Create zip deployment package
run: zip -r deploy_package.zip .next pages public styles *.json *.js *.ts
- name: Deploy to EB
uses: einaregilsson/beanstalk-deploy@v21
with:
aws_access_key: ${{ secrets.ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.SECRET_ACCESS_KEY }}
application_name: SeeQR-Website
environment_name: SeeQR-Website-env
version_label: "ver-${{ github.sha }}"
existing_bucket_name: seeqr-splash-page-deploy
region: us-west-1
deployment_package: deploy_package.zip