File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,13 @@ name: Frontend CI/CD
33on :
44 push :
55 branches : [main]
6+ paths :
7+ - " front-end/**"
68
79jobs :
810 build-frontend :
911 runs-on : ubuntu-latest
12+ timeout-minutes : 15
1013 defaults :
1114 run :
1215 working-directory : front-end
3437
3538 deploy-frontend :
3639 runs-on : ubuntu-latest
40+ timeout-minutes : 15
3741 needs : build-frontend
42+ defaults :
43+ run :
44+ working-directory : front-end
3845 steps :
3946 - name : Checkout code
4047 uses : actions/checkout@v4
5461 - name : Build Docker image
5562 uses : docker/build-push-action@v5
5663 with :
57- context : ./front-end
58- file : ./front-end/ Dockerfile
64+ context : .
65+ file : ./Dockerfile
5966 push : true
6067 tags : ${{ secrets.DOCKER_HUB_USERNAME }}/frontend-aws-integration:latest
You can’t perform that action at this time.
0 commit comments