Skip to content

Commit

Permalink
Adding new features in deploy-backend.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Frnn4268 committed May 30, 2024
1 parent 763f702 commit a4ee47b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
run: |
npm install
echo MONGO_URL="mongodb+srv://Frnn:noobculo@mongocluster.o2eojyk.mongodb.net/snappy?retryWrites=true&w=majority" > .env
npm run build
# Set up SSH key from GitHub Secrets
- name: Set up SSH key
Expand Down Expand Up @@ -65,7 +64,6 @@ jobs:
run: |
npm install
echo MONGO_URL="mongodb+srv://Frnn:noobculo@mongocluster.o2eojyk.mongodb.net/snappy?retryWrites=true&w=majority" > .env
npm run build
# Set up SSH key from GitHub Secrets
- name: Set up SSH key
Expand Down
6 changes: 3 additions & 3 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "mkdir -p dist && cp -r index.js .env package.json src/ dist/"
"dev": "nodemon index.js",
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit a4ee47b

Please sign in to comment.