Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
jairomr authored Sep 25, 2024
1 parent 7212242 commit d3a7a97
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,7 @@ jobs:
- name: Create version.json
run: echo "{\"commitId\":\"$LAST_COMMIT_HASH\"}" > version.json

- name: Configurar Node.js
uses: actions/setup-node@v2
with:
node-version: '16.4.2'

- name: Build Server and client
run: |
npm set progress=false
cd ${{ github.workspace }}/src/server && npm install
cd ${{ github.workspace }}/src/client && npm install
npm install -g @angular/cli@12.2.16
cd ${{ github.workspace }}/src/client && ng build --stats-json --source-map=false --no-progress

- name: Build Docker
run: |
docker build -t lapig/$application_name:${DOCKER_PATH}_${LAST_COMMIT_HASH} -t lapig/$application_name:${DOCKER_PATH}_latest -f docker/$DOCKER_PATH/Dockerfile . --no-cache
Expand Down

0 comments on commit d3a7a97

Please sign in to comment.