Skip to content

Commit 0d83054

Browse files
authored
add updating directory index after signing apt repository (#203)
1 parent 60b5c0f commit 0d83054

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,4 +260,7 @@ jobs:
260260
261261
aws s3 cp Release.gpg s3://apt.defguard.net/dists/${DIST}/ --acl public-read
262262
aws s3 cp InRelease s3://apt.defguard.net/dists/${DIST}/ --acl public-read
263+
264+
aws s3 ls s3://apt.defguard.net/dists/ --recursive | awk '{print "<a href=\""$4"\">"$4"</a><br>"}' > index.html
265+
aws s3 cp index.html s3://apt.defguard.net/ --acl public-read
263266
done

0 commit comments

Comments
 (0)