aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-25 11:49:19 -0400
committerJoshua M. Boniface <joshua@boniface.me>2024-03-25 11:49:19 -0400
commit1cea9eff6e2d3ec1a4b3a3c491b1f098d787ae30 (patch)
tree82dac19119c3bd6706156f89ad9aa95af8675923
parent77bd040c1fdd6d7b4f621eaaa98b5c25d0292bc3 (diff)
Add correct directory to TGT_DIR in LAST_SPEC
-rw-r--r--.github/workflows/ci-openapi.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci-openapi.yml b/.github/workflows/ci-openapi.yml
index 79f046be8..8d497069b 100644
--- a/.github/workflows/ci-openapi.yml
+++ b/.github/workflows/ci-openapi.yml
@@ -175,7 +175,7 @@ jobs:
script_stop: false
script: |
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
exit 0
fi