mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update main.yml
This commit is contained in:
parent
003eb7b644
commit
94d69aa096
1 changed files with 8 additions and 8 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -94,9 +94,9 @@ jobs:
|
||||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||||
with:
|
with:
|
||||||
command: |
|
command: |
|
||||||
mkdir -p deploy/release/${{env.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
mkdir -p /www/wwwroot/55860.com/bak/down/release/${{env.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
||||||
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
user: deploy
|
user: root
|
||||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
key: ${{ secrets.PRIVATE_KEY }}
|
key: ${{ secrets.PRIVATE_KEY }}
|
||||||
args: -tt
|
args: -tt
|
||||||
|
@ -109,9 +109,9 @@ jobs:
|
||||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||||
with:
|
with:
|
||||||
command: |
|
command: |
|
||||||
mkdir -p deploy/${{env.SOURCE_BRANCH}}/${{matrix.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
mkdir -p /www/wwwroot/55860.com/bak/down/${{env.SOURCE_BRANCH}}/${{matrix.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
||||||
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
user: deploy
|
user: root
|
||||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
key: ${{ secrets.PRIVATE_KEY }}
|
key: ${{ secrets.PRIVATE_KEY }}
|
||||||
args: -tt
|
args: -tt
|
||||||
|
@ -127,10 +127,10 @@ jobs:
|
||||||
uses: ysurac/action-rsync@master
|
uses: ysurac/action-rsync@master
|
||||||
env:
|
env:
|
||||||
ARGS: -av --delete-after
|
ARGS: -av --delete-after
|
||||||
TARGET: deploy/release/${{steps.branch_name.outputs.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
TARGET: /www/wwwroot/55860.com/bak/down/release/${{steps.branch_name.outputs.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
||||||
SOURCE: ./bin/
|
SOURCE: ./bin/
|
||||||
KEY: ${{ secrets.PRIVATE_KEY }}
|
KEY: ${{ secrets.PRIVATE_KEY }}
|
||||||
USER: deploy
|
USER: root
|
||||||
HOST: ${{ secrets.OMR_DEPLOY_HOST }}
|
HOST: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
PORT: ${{ secrets.OMR_DEPLOY_PORT }}
|
PORT: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
||||||
|
@ -142,10 +142,10 @@ jobs:
|
||||||
uses: ysurac/action-rsync@master
|
uses: ysurac/action-rsync@master
|
||||||
env:
|
env:
|
||||||
ARGS: -av --delete-after
|
ARGS: -av --delete-after
|
||||||
TARGET: deploy/${{ steps.branch_name.outputs.SOURCE_BRANCH }}/${{matrix.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
TARGET: /www/wwwroot/55860.com/bak/down/${{ steps.branch_name.outputs.SOURCE_BRANCH }}/${{matrix.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
||||||
SOURCE: ./bin/
|
SOURCE: ./bin/
|
||||||
KEY: ${{ secrets.PRIVATE_KEY }}
|
KEY: ${{ secrets.PRIVATE_KEY }}
|
||||||
USER: deploy
|
USER: root
|
||||||
HOST: ${{ secrets.OMR_DEPLOY_HOST }}
|
HOST: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
PORT: ${{ secrets.OMR_DEPLOY_PORT }}
|
PORT: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue