Skip to content

targets

targets #22

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
schedule:
- cron: '0 1 1 * *' # runs on first of month
workflow_dispatch:
name: targets
jobs:
docker:
runs-on: ubuntu-latest
container: rocker/geospatial
steps:
- uses: actions/checkout@v3
- name: system deps
run: sudo apt-get update && sudo apt-get -y install cargo
# - name: Install packages from renv.lock (with cache)
# uses: r-lib/actions/setup-renv@v2
# with:
# cache-version: 3
- name: install R packages
run: install2.r minioclient here glue rstac gdalcubes
- name: build targets
shell: Rscript {0}
run: |
source("targets/spatial_targets.R")
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: "spatial-team"
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}