mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2025-02-25 18:50:51 +00:00
Fix paths to use incoming and sudo move
Aligns with new permissions model on new repo server.
This commit is contained in:
parent
475d7f649f
commit
4fb6830bbd
7
.github/workflows/publish.yaml
vendored
7
.github/workflows/publish.yaml
vendored
@ -81,7 +81,7 @@ jobs:
|
||||
with:
|
||||
switches: -vrptz
|
||||
path: jellyfin-chromecast.zip
|
||||
remote_path: /srv/repository/main/client/chromecast/versions/${{ env.JELLYFIN_VERSION }}/
|
||||
remote_path: /srv/incoming/chromecast/${{ env.JELLYFIN_VERSION }}/
|
||||
remote_host: ${{ secrets.REPO_HOST }}
|
||||
remote_user: ${{ secrets.REPO_USER }}
|
||||
remote_key: ${{ secrets.REPO_KEY }}
|
||||
@ -95,9 +95,10 @@ jobs:
|
||||
envs: JELLYFIN_VERSION
|
||||
script_stop: true
|
||||
script: |
|
||||
sudo mv /srv/incoming/chromecast/${{ env.JELLYFIN_VERSION }} /srv/repository/main/client/chromecast/versions/${{ env.JELLYFIN_VERSION }};
|
||||
cd /srv/repository/main/client/chromecast;
|
||||
rm -rf *.zip;
|
||||
ln -s versions/${JELLYFIN_VERSION}/jellyfin-chromecast-${JELLYFIN_VERSION}.zip .;
|
||||
sudo rm -rf *.zip;
|
||||
suod ln -s versions/${JELLYFIN_VERSION}/jellyfin-chromecast-${JELLYFIN_VERSION}.zip .;
|
||||
|
||||
deploy:
|
||||
name: Deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user