Skip to content

update yaml

update yaml #2

Workflow file for this run

name: Render documents and upload
on:
push:
jobs:
render_document:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- name: Install packages
run: |
Rscript -e 'install.packages("tidyverse")'
Rscript -e 'install.packages("openxlsx")'
Rscript -e 'install.packages("devtools")'
- name: Run createsystemData
run: source("createsystemData_main.R")
run: source("createsystemData_sv.R")

Check failure on line 19 in .github/workflows/fredi_data.yml

View workflow run for this annotation

GitHub Actions / Render documents and upload

Invalid workflow file

The workflow is not valid. .github/workflows/fredi_data.yml (Line: 19, Col: 9): 'run' is already defined

Check failure on line 19 in .github/workflows/fredi_data.yml

View workflow run for this annotation

GitHub Actions / Render documents and upload

Invalid workflow file

The workflow is not valid. .github/workflows/fredi_data.yml (Line: 19, Col: 9): 'run' is already defined
- name: Commit results
run: |
git config --local core.autocrlf false
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git config --local user.name "${{ github.actor }}"
git add data/sysdata**
git pull origin ${{ github.head_ref }} --autostash --rebase -X ours
git commit -a -m "update systemdata"
git push