Skip to content

Commit 65be6d0

Browse files
committed
fix(ci): categorize under deploy job
Signed-off-by: ItsNeil17 <neil@willofsteel.me>
1 parent 3c3eafc commit 65be6d0

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@ concurrency:
1717
cancel-in-progress: false
1818

1919
jobs:
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

0 commit comments

Comments
 (0)