Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JFormoso committed Aug 30, 2024
1 parent d52036a commit 7cbb447
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
27 changes: 27 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Actualizacion Evaluaciones Cohorte

on:
schedule:
- cron: '0 13 * * *'
workflow_dispatch:

jobs:
Actualizacion-Evaluaciones-Cohorte:
name: Actualizacion Evaluaciones Cohorte
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.TOKEN_USUARIO_JESI }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.AUTENTICACION_NO_INTERACTIVA }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- name: Install libcurl and libssl on Linux
run: 'sudo apt-get -y install libcurl4-openssl-dev'
shell: bash
- name: Install CRAN packages
run: Rscript -e 'install.packages(c("googlesheets4", "googledrive", "dplyr", "tidyr", "lubridate"))'
- name: Run insignias R script
run: |
source('NASA_TOPS_Cohortes/Cohorte2/insignias.R')
shell: Rscript {0}

0 comments on commit 7cbb447

Please sign in to comment.