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
df865aed83
commit
77839d17e1
1 changed files with 3 additions and 1 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -90,12 +90,13 @@ jobs:
|
||||||
uses: burnett01/rsync-deployments@4.1
|
uses: burnett01/rsync-deployments@4.1
|
||||||
with:
|
with:
|
||||||
switches: -av --delete-after
|
switches: -av --delete-after
|
||||||
remote_path: deploy/${{env.SOURCE_BRANCH}}/${{env.OMR_KERNEL}}/${{env.OMR_TARGET}}
|
remote_path: deploy/release/${{env.SOURCE_TAG}}/${{env.OMR_TARGET}}
|
||||||
path: ./openmptcprouter/${{env.OMR_TARGET}}/source/bin/
|
path: ./openmptcprouter/${{env.OMR_TARGET}}/source/bin/
|
||||||
remote_key: ${{ secrets.PRIVATE_KEY }}
|
remote_key: ${{ secrets.PRIVATE_KEY }}
|
||||||
remote_user: deploy
|
remote_user: deploy
|
||||||
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
remote_port: ${{ secrets.OMR_DEPLOY_PORT }}
|
remote_port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
|
env:
|
||||||
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
||||||
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}
|
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}
|
||||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||||
|
@ -110,6 +111,7 @@ jobs:
|
||||||
remote_user: deploy
|
remote_user: deploy
|
||||||
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
remote_port: ${{ secrets.OMR_DEPLOY_PORT }}
|
remote_port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
|
env:
|
||||||
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
||||||
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}
|
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}
|
||||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue