Skip to content

Commit

Permalink
Update cicd_front_prod_pipeline.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Miensoap committed Jun 5, 2024
1 parent 25ccc5b commit 53dce79
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/cicd_front_prod_pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: |
cd ${{ github.workspace }}/FE
npm install
- name: Build project

- name: Add .env
run: |
cd ${{ github.workspace }}/FE
echo "${{ secrets.FRONT_ENV }}" | base64 --decode > ./.env.production
npm run build
- name: Build Docker image
run: |
Expand Down

0 comments on commit 53dce79

Please sign in to comment.