-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
56 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ on: | |
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: "0 0 * * *" | ||
# schedule: | ||
# - cron: "0 0 * * *" | ||
|
||
name: build | ||
|
||
|
@@ -16,41 +16,41 @@ jobs: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
extra-repositories: 'https://tbep-tech.r-universe.dev' | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-tinytex@v2 | ||
- name: Setup Ubuntu dependencies | ||
run: | | ||
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | ||
sudo apt-get update | ||
sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev libsqlite0-dev | ||
- name: Setup R dependencies | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
packages: | | ||
any::dplyr | ||
any::knitr | ||
any::rmarkdown | ||
any::ggmap | ||
any::ggrepel | ||
any::here | ||
any::tibble | ||
any::ggplot2 | ||
any::patchwork | ||
any::Hmisc | ||
any::tinytex | ||
any::pdftools | ||
url::https://cran.r-project.org/src/contrib/Archive/git2r/git2r_0.33.0.tar.gz | ||
tbeptools | ||
- name: Build report card | ||
run: Rscript -e 'source("build.R")' | ||
- name: Commit results | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add -A | ||
git commit -m 'Re-build data' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
# - uses: r-lib/actions/setup-r@v2 | ||
# with: | ||
# extra-repositories: 'https://tbep-tech.r-universe.dev' | ||
# - uses: r-lib/actions/setup-pandoc@v2 | ||
# - uses: r-lib/actions/setup-tinytex@v2 | ||
# - name: Setup Ubuntu dependencies | ||
# run: | | ||
# sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | ||
# sudo apt-get update | ||
# sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev libsqlite0-dev | ||
# - name: Setup R dependencies | ||
# uses: r-lib/actions/setup-r-dependencies@v2 | ||
# with: | ||
# packages: | | ||
# any::dplyr | ||
# any::knitr | ||
# any::rmarkdown | ||
# any::ggmap | ||
# any::ggrepel | ||
# any::here | ||
# any::tibble | ||
# any::ggplot2 | ||
# any::patchwork | ||
# any::Hmisc | ||
# any::tinytex | ||
# any::pdftools | ||
# url::https://cran.r-project.org/src/contrib/Archive/git2r/git2r_0.33.0.tar.gz | ||
# tbeptools | ||
# | ||
# - name: Build report card | ||
# run: Rscript -e 'source("build.R")' | ||
# - name: Commit results | ||
# run: | | ||
# git config --local user.email "[email protected]" | ||
# git config --local user.name "GitHub Actions" | ||
# git add -A | ||
# git commit -m 'Re-build data' || echo "No changes to commit" | ||
# git push origin || echo "No changes to commit" |
Oops, something went wrong.