Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecai00 committed Apr 28, 2022
1 parent c846da8 commit fe3cc16
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,6 @@ jobs:
cd front-end
npm install # install all dependencies listed in package.json
npm run build # have react build the stand-alone front-end code
continuous-integration:
docker:
- image: cimg/node:16.13.0 # latest stable node at the time of writing
steps:
- checkout
- run: echo "this is the continuous integration job"
- run: |
ssh [email protected]
echo "yes"
git clone https://github.com/software-assignments-spring2022/final-project-codehunt.git
cd final-project-codehunt/back-end
pm2 start npm -- start
cd final-project-codehunt/front-end
pm2 start npm -- start
cd final-project-codehunt/front-end
npm run build
rm -rf final-project-codehunt/back-end/client
cp -R ./build final-project-codehunt/back-end/client
# Orchestrate our job run sequence
workflows:
Expand All @@ -62,7 +42,4 @@ workflows:
- build-and-test-express-js
build-front-end:
jobs:
- build-react-js
continuous-integration:
jobs:
- continuous-integration
- build-react-js

0 comments on commit fe3cc16

Please sign in to comment.