Skip to content

Commit

Permalink
fix gha png : probleme d'extension de fichier avant de rajouter .png
Browse files Browse the repository at this point in the history
  • Loading branch information
MaelTheuliere committed Oct 8, 2021
1 parent 0384231 commit ed42af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/distill-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Build slides png
run: |
R -e 'source("R/screenshot_share_image.R"); purrr::map(list.files(path = "slides",pattern = ".Rmd",full.names = TRUE), ~screenshot_share_image(.x, path_image = xfun::with_ext(paste0(.x,"-card"),"png")))'
R -e 'source("R/screenshot_share_image.R"); purrr::map(list.files(path = "slides",pattern = ".Rmd",full.names = TRUE), ~screenshot_share_image(.x, path_image = xfun::with_ext(paste0(xfun::sans_ext(.x),"-card"),"png")))'
find slides/ -type f -name "*.png" -exec mv {} slides/www/ \;
- name: Build bookdown
run: |
Expand Down

0 comments on commit ed42af3

Please sign in to comment.