generated from nyu-software-engineering/generic-mern-stack-project
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c846da8
commit fe3cc16
Showing
1 changed file
with
1 addition
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |