Add correct directory to TGT_DIR in LAST_SPEC
This commit is contained in:
parent
77bd040c1f
commit
1cea9eff6e
2
.github/workflows/ci-openapi.yml
vendored
2
.github/workflows/ci-openapi.yml
vendored
|
@ -175,7 +175,7 @@ jobs:
|
||||||
script_stop: false
|
script_stop: false
|
||||||
script: |
|
script: |
|
||||||
TGT_DIR="/srv/repository/main/openapi"
|
TGT_DIR="/srv/repository/main/openapi"
|
||||||
LAST_SPEC="$( ls -lt ${TGT_DIR} | grep 'jellyfin-openapi' | head -1 | awk '{ print $NF }' )"
|
LAST_SPEC="$( ls -lt ${TGT_DIR}/unstable/ | grep 'jellyfin-openapi' | head -1 | awk '{ print $NF }' )"
|
||||||
if ! diff /srv/incoming/openapi/unstable/jellyfin-openapi-${{ env.JELLYFIN_VERSION }}.json ${TGT_DIR}/unstable/${LAST_SPEC} &>/dev/null; then
|
if ! diff /srv/incoming/openapi/unstable/jellyfin-openapi-${{ env.JELLYFIN_VERSION }}.json ${TGT_DIR}/unstable/${LAST_SPEC} &>/dev/null; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user