We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e9d80 commit 13e9111Copy full SHA for 13e9111
1 file changed
.github/workflows/deploy-express.yml
@@ -16,10 +16,15 @@ jobs:
16
username: ${{ secrets.AWS_EC2_USER }}
17
key: ${{ secrets.AWS_PRIVATE_KEY }}
18
port: ${{secrets.SERVER_PORT}}
19
- script-stop: true
20
script: |
+ set -e
21
cd /home/ubuntu/codeit-resources
22
git pull origin develop
23
pnpm install
24
pnpm --filter=api build
25
pm2 restart codeit-server
26
+
27
+# pm2 명령어
28
+# pm2 delete all
29
+# cd /home/ubuntu/codeit-resources/apps/api
30
+# pm2 start pnpm --name "codeit-server" -- start
0 commit comments