Skip to content

Commit

Permalink
Merge pull request #19 from NCEAS/fix-links
Browse files Browse the repository at this point in the history
updated youtube  links in the data viz section
  • Loading branch information
camilavargasp authored Nov 15, 2024
2 parents c574656 + 7845303 commit 9318000
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/deploy_bookdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- main
- fix-links



Expand All @@ -10,13 +11,13 @@ name: renderbook
jobs:
bookdown:
name: Render-Book
runs-on: macOS-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-pandoc@v1
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install TinyTeX
uses: r-lib/actions/setup-tinytex@v1
uses: r-lib/actions/setup-tinytex@v2
env:
# install full prebuilt version
TINYTEX_INSTALLER: TinyTeX
Expand All @@ -26,9 +27,7 @@ jobs:
run: Rscript -e 'install.packages(c("rmarkdown","bookdown","devtools"))'
- name: Render gitbook
run: Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::gitbook")'
- name: Render pdfbook
run: Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: _book
path: _book/
Expand All @@ -44,7 +43,7 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: Download artifact
uses: actions/download-artifact@v1.0.0
uses: actions/download-artifact@v4
with:
# Artifact name
name: _book # optional
Expand All @@ -56,4 +55,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
build_dir: _book/ # "_site/" by default
email: ${{ secrets.EMAIL }} # must be a verified email
email: ${{ secrets.EMAIL }} # must be a verified email [testing]
Loading

0 comments on commit 9318000

Please sign in to comment.