From d0a39ac4716ed7600e4931c0d0ad9f1fe8e65d17 Mon Sep 17 00:00:00 2001 From: ivanstanev Date: Tue, 15 Oct 2019 16:40:49 +0100 Subject: [PATCH] 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. --- scripts/publish-gh-pages.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/publish-gh-pages.sh b/scripts/publish-gh-pages.sh index 626817f7e..6d37ac2a2 100755 --- a/scripts/publish-gh-pages.sh +++ b/scripts/publish-gh-pages.sh @@ -18,7 +18,7 @@ then fi echo overriding new yaml / chart files from master branch -git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml +git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml README.md echo overriding tag placeholders with latest semantic version sed -i "s/IMAGE_TAG_OVERRIDE_WHEN_PUBLISHING/${NEW_TAG}/g" ./snyk-monitor/values.yaml @@ -34,6 +34,9 @@ git add index.yaml git add snyk-monitor-${NEW_TAG}.tgz git add ./snyk-monitor/values.yaml git add ./snyk-monitor-deployment.yaml +git add ./snyk-monitor-cluster-permissions.yaml +git add ./snyk-monitor-namespaced-permissions.yaml +git add ./README.md COMMIT_MESSAGE='fix: :egg: Automatic Publish '${NEW_TAG}' :egg:' git commit -m "${COMMIT_MESSAGE}" git push --quiet --set-upstream origin-pages gh-pages