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
37a091c9bb
commit
1b58d5c6f4
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -68,7 +68,7 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.OMR_TARGET }}
|
||||
path: /home/runner/work/omr/${{ matrix.OMR_TARGET }}/source/bin
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH == '' && secrets.PRIVATE_KEY != ''
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH == ''
|
||||
name: Deploy - Create directory
|
||||
uses: fifsky/ssh-action@master
|
||||
env:
|
||||
|
@ -82,7 +82,7 @@ jobs:
|
|||
user: deploy
|
||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||
key: ${{ secrets.PRIVATE_KEY }}
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH != '' && secrets.PRIVATE_KEY != ''
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH != ''
|
||||
name: Deploy - Create directory
|
||||
uses: fifsky/ssh-action@master
|
||||
env:
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
user: deploy
|
||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||
key: ${{ secrets.PRIVATE_KEY }}
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH == '' && secrets.PRIVATE_KEY != ''
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH == ''
|
||||
name: Deploy - Upload via rsync
|
||||
uses: up9cloud/action-rsync@master
|
||||
env:
|
||||
|
@ -111,7 +111,7 @@ jobs:
|
|||
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 != '' && secrets.PRIVATE_KEY != ''
|
||||
- if: steps.branch_name.outputs.SOURCE_BRANCH != ''
|
||||
name: Deploy - Upload via rsync
|
||||
uses: up9cloud/action-rsync@master
|
||||
env:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue