diff --git a/.github/workflows/deployment-ci.yml b/.github/workflows/deployment-ci.yml index 5142266..e260207 100644 --- a/.github/workflows/deployment-ci.yml +++ b/.github/workflows/deployment-ci.yml @@ -214,6 +214,38 @@ jobs: chmod 700 "$GNUPGHOME" gpg --batch --no-default-keyring --keyring dist/apt-ci/repo/gitcomet-archive-keyring.gpg --verify dist/apt-ci/repo/dists/stable/InRelease >/dev/null + - name: Verify generated repo with apt-secure + run: | + set -euo pipefail + + repo_root="$(pwd)/dist/apt-ci/repo" + source_dir="${RUNNER_TEMP}/gitcomet-apt-sources.d" + lists_dir="${RUNNER_TEMP}/gitcomet-apt-lists" + + mkdir -p "$source_dir" + sudo mkdir -p "${lists_dir}/partial" + + cat > "${source_dir}/gitcomet-ci.sources" <