Skip to content

Commit 631aae3

Browse files
authored
Merge pull request #166 from snyk/fix/checkout-readme-for-gh-pages
fix: checkout README for gh-pages
2 parents e0153f3 + d0a39ac commit 631aae3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/publish-gh-pages.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ then
1818
fi
1919

2020
echo overriding new yaml / chart files from master branch
21-
git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml
21+
git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml README.md
2222

2323
echo overriding tag placeholders with latest semantic version
2424
sed -i "s/IMAGE_TAG_OVERRIDE_WHEN_PUBLISHING/${NEW_TAG}/g" ./snyk-monitor/values.yaml
@@ -34,6 +34,9 @@ git add index.yaml
3434
git add snyk-monitor-${NEW_TAG}.tgz
3535
git add ./snyk-monitor/values.yaml
3636
git add ./snyk-monitor-deployment.yaml
37+
git add ./snyk-monitor-cluster-permissions.yaml
38+
git add ./snyk-monitor-namespaced-permissions.yaml
39+
git add ./README.md
3740
COMMIT_MESSAGE='fix: :egg: Automatic Publish '${NEW_TAG}' :egg:'
3841
git commit -m "${COMMIT_MESSAGE}"
3942
git push --quiet --set-upstream origin-pages gh-pages

0 commit comments

Comments
 (0)