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