mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-27 03:06:10 +00:00
Merge pull request #835 from jellyfin/update-ci
Update CI to new repository secrets and layout
This commit is contained in:
commit
2ef6330efd
1 changed files with 9 additions and 9 deletions
18
.github/workflows/publish.yaml
vendored
18
.github/workflows/publish.yaml
vendored
|
@ -43,18 +43,18 @@ jobs:
|
||||||
with:
|
with:
|
||||||
switches: -vrptz
|
switches: -vrptz
|
||||||
path: '*.zip'
|
path: '*.zip'
|
||||||
remote_path: /srv/repository/incoming/kodi
|
remote_path: /srv/incoming/kodi
|
||||||
remote_host: ${{ secrets.DEPLOY_HOST }}
|
remote_host: ${{ secrets.REPO_HOST }}
|
||||||
remote_user: ${{ secrets.DEPLOY_USER }}
|
remote_user: ${{ secrets.REPO_USER }}
|
||||||
remote_key: ${{ secrets.DEPLOY_KEY }}
|
remote_key: ${{ secrets.REPO_KEY }}
|
||||||
|
|
||||||
- name: Add to Kodi repo and clean up
|
- name: Add to Kodi repo and clean up
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.DEPLOY_HOST }}
|
host: ${{ secrets.REPO_HOST }}
|
||||||
username: ${{ secrets.DEPLOY_USER }}
|
username: ${{ secrets.REPO_USER }}
|
||||||
key: ${{ secrets.DEPLOY_KEY }}
|
key: ${{ secrets.REPO_KEY }}
|
||||||
script_stop: true
|
script_stop: true
|
||||||
script: |
|
script: |
|
||||||
python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin+py3.zip --datadir /srv/repository/releases/client/kodi/py3;
|
python3 /usr/local/bin/kodirepo add /srv/incoming/kodi/plugin.video.jellyfin+py3.zip --datadir /srv/repository/main/client/kodi/py3;
|
||||||
rm /srv/repository/incoming/kodi/plugin.video.jellyfin+py3.zip;
|
rm /srv/incoming/kodi/plugin.video.jellyfin+py3.zip;
|
||||||
|
|
Loading…
Reference in a new issue