Skip to content

Commit

Permalink
commit repos.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Nov 16, 2023
1 parent 47c9f1b commit fb8f297
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/z_pages.R
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,11 @@ update_gallery <- function(gallery_path="~/R/gallery"){
fwrite(error.dt, file.path(gallery_path, "error.csv"))
rmarkdown::render(file.path(gallery_path, "index.Rmd"))
to_add <- c(
"*.csv", file.path("repos","*","*.png"), "index.html", "index.Rmd")
"*.csv",
"repos.txt",
file.path("repos","*","*.png"),
"index.html",
"index.Rmd")
gert::git_add(to_add, repo=gallery_path)
gert::git_commit(paste("update", add.POSIXct), repo=gallery_path)
gert::git_push("origin", repo=gallery_path)
Expand Down

0 comments on commit fb8f297

Please sign in to comment.