Skip to content

sync_surveycto

sync_surveycto #67

# 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: '5 20 * * *'
push:
branches:
- 'main'
pull_request:
name: sync_surveycto
jobs:
sync_surveycto:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
SCTO_AUTH: ${{ secrets.SCTO_AUTH }}
WH_AUTH: ${{ secrets.WH_AUTH }}
GITHUB_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
steps:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-renv@v2
- name: Run script
run: Rscript code/main.R