Skip to content

Commit 6a3b262

Browse files
authored
CI CD check (#15)
* Let's see what is going on * Let's see what is going on * Let's see what is going on * Let's see what is going on * Ok this brings dev up, but I am getting strange pm2 version behavior in the GH workflow but not on the server.
1 parent 0c78232 commit 6a3b262

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/cd_dev.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ jobs:
3535
touch /srv/node/logs/tinypen.txt
3636
fi
3737
cd /srv/node/tinyPen/
38-
echo "Private Project Don't Work Without Login"
39-
echo "When this isn't private do the following"
40-
echo "pm2 stop tinyPen"
41-
echo "git stash"
42-
echo "git checkout main"
43-
echo "git pull"
44-
echo "git checkout $GITHUB_HEAD_REF"
45-
echo "git pull"
46-
echo "npm install"
47-
echo "pm2 start -i max bin/tinyPen.js"
38+
pm2 stop tinyPen
39+
git stash
40+
git checkout main
41+
git pull
42+
git checkout $GITHUB_HEAD_REF
43+
git pull
44+
npm install
45+
pm2 start -i max bin/tinyPen.js

0 commit comments

Comments
 (0)