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
4b13110956
commit
b78aebfc06
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -62,17 +62,17 @@ jobs:
|
||||||
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
|
||||||
with:
|
with:
|
||||||
command: |
|
command: |
|
||||||
mkdir -p deploy/${SOURCE_BRANCH:-release}/${SOURCE_TAG:-$OMR_KERNEL}/${OMR_TARGET}
|
mkdir -p deploy/${{env.SOURCE_BRANCH:-release}}/${{env.SOURCE_TAG:-$OMR_KERNEL}}/${{env.OMR_TARGET}}
|
||||||
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||||
user: deploy
|
user: deploy
|
||||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||||
key: ${{ secrets.PRIVATE_KEY }}
|
key: ${{ secrets.PRIVATE_KEY }}
|
||||||
- name: Deploy - Upload via rsync
|
- name: Deploy - Upload via rsync
|
||||||
uses: trendyminds/github-actions-rsync@master
|
uses: frankfoerster/github-actions-rsync@master
|
||||||
with:
|
with:
|
||||||
RSYNC_OPTIONS: -av --delete-after
|
RSYNC_OPTIONS: -av --delete-after
|
||||||
RSYNC_TARGET: deploy/${SOURCE_BRANCH:-release}/${SOURCE_TAG:-$OMR_KERNEL}/${OMR_TARGET}
|
RSYNC_TARGET: deploy/${{env.SOURCE_BRANCH:-release}}/${{env.SOURCE_TAG:-$env.OMR_KERNEL}}/${{env.OMR_TARGET}}
|
||||||
RSYNC_SOURCE: ./openmptcprouter/${OMR_TARGET}/source/bin/
|
RSYNC_SOURCE: ./openmptcprouter/${{env.OMR_TARGET}}/source/bin/
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
|
||||||
SSH_USERNAME: deploy
|
SSH_USERNAME: deploy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue