diff --git a/R/publish.R b/R/publish.R index 1014e34..8f76f86 100644 --- a/R/publish.R +++ b/R/publish.R @@ -56,7 +56,7 @@ publish_github <- function(repo, username = getOption('github.user')){ system('git add .') system('git commit -a -m "publishing deck"') system(sprintf('git push git@github.com:%s/%s gh-pages', username, repo)) - link = sprintf('http://%s.github.com/%s', username, repo) + link = sprintf('http://%s.github.io/%s', username, repo) message('You can now view your slide deck at ', link) browseURL(link) }