Skip to content

Commit

Permalink
Merge pull request #166 from snyk/fix/checkout-readme-for-gh-pages
Browse files Browse the repository at this point in the history
fix: checkout README for gh-pages
  • Loading branch information
ivanstanev authored Oct 16, 2019
2 parents e0153f3 + d0a39ac commit 631aae3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/publish-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 631aae3

Please sign in to comment.