File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,19 @@ concurrency:
1717 cancel-in-progress : false
1818
1919jobs :
20- runs-on : ubuntu-latest
21-
22- steps :
23- - name : Deploy to VPS via SSH
24- uses : appleboy/ssh-action@v1.0.3
25- with :
26- host : ${{ secrets.SERVER_HOST }}
27- username : ${{ secrets.SERVER_USERNAME }}
28- key : ${{ secrets.SERVER_SSH_KEY }}
29- port : ${{ secrets.SERVER_PORT }}
30- script : |
31- cd /opt/website/
32- git pull origin main
33- bun run build
34- pm2 restart website
20+ deploy :
21+ runs-on : ubuntu-latest
22+
23+ steps :
24+ - name : Deploy to VPS via SSH
25+ uses : appleboy/ssh-action@v1.0.3
26+ with :
27+ host : ${{ secrets.SERVER_HOST }}
28+ username : ${{ secrets.SERVER_USERNAME }}
29+ key : ${{ secrets.SERVER_SSH_KEY }}
30+ port : ${{ secrets.SERVER_PORT }}
31+ script : |
32+ cd /opt/website/
33+ git pull origin main
34+ bun run build
35+ pm2 restart website
You can’t perform that action at this time.
0 commit comments