We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f74b14a commit 64588d7Copy full SHA for 64588d7
1 file changed
.github/workflows/cd_dev.yaml
@@ -69,17 +69,6 @@ jobs:
69
- uses: actions/checkout@master
70
- name: Deploy the app on the server
71
run: |
72
+ su nodeapps
73
echo "What user am I in deploy stage?"
74
echo $USER
- if [[ ! -e /srv/node/logs/tinynode.txt ]]; then
75
- mkdir -p /srv/node/logs
76
- touch /srv/node/logs/tinynode.txt
77
- fi
78
- cd /srv/node/tiny-node/
79
- pm2 stop tinyNode
80
- git stash
81
- git pull
82
- git checkout ${{ github.head_ref }}
83
84
- npm install
85
- pm2 start -i max bin/tinyNode.js
0 commit comments