Skip to content

Commit d0a39ac

Browse files
committed
fix: checkout README and YAML for gh-pages
We forgot to include the basic README and permissions YAML files of the repo which resulted in the YAML installation instructions not getting updated, and customers not being able to use us properly.
1 parent e0153f3 commit d0a39ac

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)