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
6b98c9c4b0
commit
802db7e04d
1 changed files with 3 additions and 5 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -40,8 +40,6 @@ jobs:
|
||||||
git checkout develop
|
git checkout develop
|
||||||
fi
|
fi
|
||||||
git pull
|
git pull
|
||||||
cd $GITHUB_WORKSPACE
|
|
||||||
ln -s /home/runner/omr
|
|
||||||
- name: Build toolchain
|
- name: Build toolchain
|
||||||
working-directory: ../../omr
|
working-directory: ../../omr
|
||||||
env:
|
env:
|
||||||
|
@ -68,7 +66,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.OMR_TARGET }}
|
name: ${{ matrix.OMR_TARGET }}
|
||||||
path: ./omr/${{ matrix.OMR_TARGET }}/source/bin
|
path: /home/runner/work/omr/${{ matrix.OMR_TARGET }}/source/bin
|
||||||
- if: steps.branch_name.outputs.SOURCE_BRANCH == ''
|
- 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
|
||||||
|
@ -103,7 +101,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
switches: -av --delete-after
|
switches: -av --delete-after
|
||||||
remote_path: deploy/release/${{env.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
remote_path: deploy/release/${{env.SOURCE_TAG}}/${{matrix.OMR_TARGET}}
|
||||||
path: ./omr/${{matrix.OMR_TARGET}}/source/bin/
|
path: ../../home/runner/work/omr/${{matrix.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 }}
|
||||||
|
@ -119,7 +117,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
switches: -av --delete-after
|
switches: -av --delete-after
|
||||||
remote_path: deploy/${{env.SOURCE_BRANCH}}/${{env.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
remote_path: deploy/${{env.SOURCE_BRANCH}}/${{env.OMR_KERNEL}}/${{matrix.OMR_TARGET}}
|
||||||
path: ./omr/${{matrix.OMR_TARGET}}/source/bin/
|
path: ../../home/runner/work/omr/${{matrix.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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue