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:
|
with:
|
||||||
name: ${{ matrix.OMR_TARGET }}
|
name: ${{ matrix.OMR_TARGET }}
|
||||||
path: /home/runner/work/omr/${{ matrix.OMR_TARGET }}/source/bin
|
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
|
name: Deploy - Create directory
|
||||||
uses: fifsky/ssh-action@master
|
uses: fifsky/ssh-action@master
|
||||||
env:
|
env:
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
user: deploy
|
user: deploy
|
||||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
key: ${{ secrets.PRIVATE_KEY }}
|
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
|
name: Deploy - Create directory
|
||||||
uses: fifsky/ssh-action@master
|
uses: fifsky/ssh-action@master
|
||||||
env:
|
env:
|
||||||
|
@ -96,7 +96,7 @@ jobs:
|
||||||
user: deploy
|
user: deploy
|
||||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
key: ${{ secrets.PRIVATE_KEY }}
|
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
|
name: Deploy - Upload via rsync
|
||||||
uses: up9cloud/action-rsync@master
|
uses: up9cloud/action-rsync@master
|
||||||
env:
|
env:
|
||||||
|
@ -111,7 +111,7 @@ jobs:
|
||||||
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 }}
|
||||||
GITHUB_WORKSPACE: ${{ steps.branch_name.outputs.WORKSPACE }}
|
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
|
name: Deploy - Upload via rsync
|
||||||
uses: up9cloud/action-rsync@master
|
uses: up9cloud/action-rsync@master
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue