Skip to content

Commit e4a959f

Browse files
minor bugfix from workflow docker image tag update (should be fine going forward)
1 parent cdc84de commit e4a959f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build_html.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Script to generate HTML book
2-
docker run --rm -m 5g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:20230709020300d0b466.23.0 /bin/bash -c "cd /home/rstudio/introduction-to-datascience; Rscript -e 'bookdown::render_book(\"index.Rmd\", output_format=\"bookdown::gitbook\"); warnings(); problems()'"
2+
docker run --rm -m 5g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:20230709020300d0b466 /bin/bash -c "cd /home/rstudio/introduction-to-datascience; Rscript -e 'bookdown::render_book(\"index.Rmd\", output_format=\"bookdown::gitbook\"); warnings(); problems()'"

build_pdf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sed -n -i "/# Welcome/q;p" index.Rmd
1212
sed -i "/graphic\.jpg/d" index.Rmd
1313

1414
## Build the book with bookdown
15-
docker run --rm -m 5g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:20230709020300d0b466.23.0 /bin/bash -c "cd /home/rstudio/introduction-to-datascience; Rscript -e 'bookdown::render_book(\"index.Rmd\", \"bookdown::pdf_book\"); warnings(); problems()'"
15+
docker run --rm -m 5g -v $(pwd):/home/rstudio/introduction-to-datascience ubcdsci/intro-to-ds:20230709020300d0b466 /bin/bash -c "cd /home/rstudio/introduction-to-datascience; Rscript -e 'bookdown::render_book(\"index.Rmd\", \"bookdown::pdf_book\"); warnings(); problems()'"
1616

1717
# restore the backed up full index.Rmd
1818
mv index_backup.Rmd index.Rmd

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
book-env:
3-
image: ubcdsci/intro-to-ds:20230709020300d0b466.23.0
3+
image: ubcdsci/intro-to-ds:20230709020300d0b466
44
ports:
55
- "8787:8787"
66
volumes:

0 commit comments

Comments
 (0)