+ Distribution
This commit is contained in:
parent
4ce0af487b
commit
1202b44909
1 changed files with 11 additions and 2 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Release
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "share/const.go"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
|
@ -87,3 +87,12 @@ jobs:
|
|||
port: ${{ secrets.SSH_PORT }}
|
||||
user: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
|
||||
- name: Distribution
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
script: ${{ secrets.SSH_CMD }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue