diff --git a/.github/workflows/publish-aptly-release.yaml b/.github/workflows/publish-aptly-release.yaml index a457d9c..30070f0 100644 --- a/.github/workflows/publish-aptly-release.yaml +++ b/.github/workflows/publish-aptly-release.yaml @@ -38,7 +38,7 @@ jobs: TIMESTAMP=`date +%Y%m%d%H%M` REPO_SNAPSHOT="${REPO}_${TIMESTAMP}" - read -r -d '' DATA <<- EOM + read -r -d '' DATA << EOM { "Name": "${REPO_SNAPSHOT}", } @@ -53,7 +53,7 @@ jobs: # create release snapshot merging the last mirror snapshot and the new repo snapshot RELEASE_SNAPSHOT="${PUBLISH_PREFIX}_${REPO_SNAPSHOT}" - read -r -d '' DATA <<- EOM + read -r -d '' DATA << EOM { "Destination": "${RELEASE_SNAPSHOT}", "Sources": [ @@ -66,7 +66,7 @@ jobs: curl -X POST -H 'Content-Type: application/json' --data "${DATA}" -u lcas:${{ secrets.APTLY_TOKEN }} ${APTLY_API}/snapshots/merge # publish the release snapshot - read -r -d '' DATA <<- EOM + read -r -d '' DATA << EOM { "Snapshots": [ "${RELEASE_SNAPSHOT}"