Skip to content

Commit

Permalink
hacky fix for preview comment?
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Gray committed May 10, 2018
1 parent f346308 commit 9966c0b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions theme/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

const bot = require("circle-github-bot").create();

demos = [
const links = [
bot.artifactLink("docs/index.html", "docs"),
];
].join(" | ").replace("documentalist", "project");
// string replace for Circle 2.0 changes

bot.comment(`
<h3>${bot.env.commitMessage}</h3>
Preview: <strong>${demos.join(" | ")}</strong>
Preview: <strong>${links}</strong>
`);

0 comments on commit 9966c0b

Please sign in to comment.