Skip to content

Update data pipeline to work through with Mindy #374

Update data pipeline to work through with Mindy

Update data pipeline to work through with Mindy #374

Workflow file for this run

name: run-targets
on:
# push:
# branches:
# - main
# - master
# pull_request:
# branches:
# - main
# - master
# workflow_dispatch:
# branches:
# - '*'
#schedule:
# - cron: "0 8 * * *"
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY64 }}
jobs:
run-targets:
runs-on: ubuntu-latest # Run on GitHub Actions runner
#runs-on: [self-hosted, linux, x64, onprem-aegypti] # Run the workflow on EHA aegypti runner
#runs-on: [self-hosted, linux, x64, onprem-prospero] # Run the workflow on EHA prospero runner
container:
image: rocker/verse:4.2.2
steps:
- uses: actions/checkout@v2
- name: Install system dependencies
run: |
apt-get update && apt-get install -y --no-install-recommends \
git-crypt \
libcurl4-openssl-dev \
libssl-dev
- name: Unlock secrets
uses: sliteteam/[email protected]
- name: Install packages from renv.lock (with cache)
if: ${{ !env.ACT }} ## Doesn't work locally with ACT
uses: r-lib/actions/setup-renv@v2
with:
cache-version: 2
- name: Run targets workflow
run: |
targets::tar_make()
shell: Rscript {0}