Skip to content

Commit

Permalink
rm fe build action
Browse files Browse the repository at this point in the history
  • Loading branch information
seplee committed Apr 5, 2024
1 parent 13ec47c commit e9b6ece
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,30 @@ concurrency:
cancel-in-progress: true

jobs:
build-frontend:
name: Build Frontend
runs-on: ubuntu-latest
environment: prod
steps:
- name: Checkout branch
uses: actions/checkout@v3

- name: Build FE
run: |
cd web
npm install
- name: Build FE
run: |
cd web
npm run build
# FE build will be in build
- uses: actions/upload-artifact@v4
with:
name: frontend-${{ github.sha }}
path: web/build

build-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
Expand All @@ -34,9 +58,8 @@ jobs:
- name: Download Frontend Build
uses: actions/download-artifact@v4
with:
name: frontend-build
name: frontend-${{ github.sha }}
path: api/build
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build, tag, and push image to Amazon ECR
id: build-image
Expand Down

0 comments on commit e9b6ece

Please sign in to comment.