Browse Source

👷 REMOVE USELESS THINGS

main
Tarskan 5 years ago
parent
commit
6ddb0c36c6
  1. 22
      .circleci/config.yml

22
.circleci/config.yml

@ -44,19 +44,6 @@ jobs:
docker push $DOCKER_HUB_USER_ID/tp_final_backend_six:$CIRCLE_BUILD_NUM docker push $DOCKER_HUB_USER_ID/tp_final_backend_six:$CIRCLE_BUILD_NUM
docker push $DOCKER_HUB_USER_ID/tp_final_backend_six:latest docker push $DOCKER_HUB_USER_ID/tp_final_backend_six:latest
server-deploy:
<<: *shared-config
working_directory: ~/repo
steps:
- attach_workspace:
at: /tmp
- run:
name: Install netlify
command: yarn add netlify-cli -D
- run:
name: Deploy app
command: yarn netlify deploy --prod --dir=~/repo
workflows: workflows:
version: 2 version: 2
build-test-and-lint: build-test-and-lint:
@ -71,11 +58,4 @@ workflows:
- testUnit - testUnit
filters: filters:
branches: branches:
only: main
- server-deploy:
requires:
- build
- testUnit
filters:
branches:
only: main
only: main
Loading…
Cancel
Save