Skip to content

Commit

Permalink
Merge pull request #24 from open-source-labs/gitHubActionsInit
Browse files Browse the repository at this point in the history
test with actual site code now
  • Loading branch information
troutman21 authored Oct 18, 2023
2 parents f90b751 + 19c0289 commit 7a3dbb6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: deploy-to-eb
name: Deploy-to-eb

on:
push:
Expand All @@ -10,21 +10,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: checkout repo
- name: Checkout repo
uses: actions/checkout@v4

- name: node install
- name: Node install
uses: actions/setup-node@v3
with:
node-version: '18'

- name: install npm dependencies
- name: Install npm dependencies
run: npm install

- name: Build Website Assets
run: npm run build

- name: create zip deployment package
- name: Create zip deployment package
run: zip -r deploy_package.zip .next pages public styles *.json *.js *.ts

- name: Deploy to EB
Expand All @@ -37,4 +37,4 @@ jobs:
version_label: "ver-${{ github.sha }}"
existing_bucket_name: seeqr-splash-page-deploy
region: us-west-1
deployment_package: nodejs.zip
deployment_package: deploy_package.zip

0 comments on commit 7a3dbb6

Please sign in to comment.