Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CYHFREDA authored Nov 12, 2024
1 parent cda8621 commit 6f21aed
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
push:
branches:
- main

env:
HOST: 0.tcp.jp.ngrok.io
PORT: 13088

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -14,8 +19,8 @@ jobs:
- name: Backup current branch packages
uses: appleboy/[email protected]
with:
host: 0.tcp.jp.ngrok.io
port: 19772
host: ${{ env.HOST }}
port: ${{ env.PORT }}
username: root
key: ${{ secrets.specialtopic }}
script: |
Expand All @@ -36,8 +41,8 @@ jobs:
- name: Deploy via SSH
uses: appleboy/[email protected]
with:
host: 0.tcp.jp.ngrok.io
port: 19772
host: ${{ env.HOST }}
port: ${{ env.PORT }}
username: root
key: ${{ secrets.specialtopic }}
script: |
Expand Down

0 comments on commit 6f21aed

Please sign in to comment.