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
e2410dfc97
commit
9af0f77841
1 changed files with 5 additions and 3 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -103,7 +103,7 @@ jobs:
|
|||
with:
|
||||
switches: -av --delete-after
|
||||
remote_path: deploy/release/${{env.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
||||
path: ./omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
path: ${{env.GITHUB_WORKSPACE}}/omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
remote_key: ${{ secrets.PRIVATE_KEY }}
|
||||
remote_user: deploy
|
||||
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||
|
@ -112,13 +112,14 @@ jobs:
|
|||
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
||||
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}
|
||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||
GITHUB_WORKSPACE: ${{ steps.branch_name.outputs.WORKSPACE }}
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH != ''
|
||||
name: Deploy - Upload via rsync
|
||||
uses: burnett01/rsync-deployments@4.1
|
||||
with:
|
||||
switches: -av --delete-after
|
||||
remote_path: deploy/${{env.SOURCE_BRANCH}}/${{env.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
||||
path: ./omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
path: ${{env.GITHUB_WORKSPACE}}/omr/${{matrix.OMR_TARGET}}/source/bin/
|
||||
remote_key: ${{ secrets.PRIVATE_KEY }}
|
||||
remote_user: deploy
|
||||
remote_host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||
|
@ -126,4 +127,5 @@ jobs:
|
|||
env:
|
||||
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
|
||||
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}
|
||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||
GITHUB_WORKSPACE: ${{ steps.branch_name.outputs.WORKSPACE }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue