Skip to content

Commit db52c92

Browse files
committed
Fixing invalidation path
1 parent 721983b commit db52c92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
--instance=${{ secrets.AWS_BSD_INSTANCE }} \
4747
--instance-user=${{ secrets.AWS_BSD_INSTANCE_USER }} \
4848
--upload-results
49-
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/bsd-repo"
49+
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/bsd-repo/*"
5050
5151
centos:
5252
concurrency: centos_remote
@@ -75,7 +75,7 @@ jobs:
7575
--instance=${{ secrets.AWS_CENTOS_INSTANCE }} \
7676
--instance-user=${{ secrets.AWS_CENTOS_INSTANCE_USER }} \
7777
--upload-results
78-
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/rpm-repo"
78+
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/rpm-repo/*"
7979
8080
ubuntu:
8181
runs-on: ubuntu-22.04
@@ -108,7 +108,7 @@ jobs:
108108
cd out
109109
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFETCHCONTENT_QUIET=OFF ..
110110
../installers/deb-systemd/build.py --upload-results .. .
111-
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/apt-repo"
111+
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION }} --paths "/apt-repo/*"
112112
113113
macos:
114114
runs-on: macos-latest

0 commit comments

Comments
 (0)