Skip to content

Run R scripts

Run R scripts #12

Workflow file for this run

name: Run R scripts
on:
workflow_dispatch:
env:
REPO = open-aims/seriatopora_analyses

Check failure on line 7 in .github/workflows/run_r.yaml

View workflow run for this annotation

GitHub Actions / Run R scripts

Invalid workflow file

The workflow is not valid. .github/workflows/run_r.yaml (Line: 7, Col: 3): Unexpected value 'REPO = open-aims/seriatopora_analyses' .github/workflows/run_r.yaml (Line: 13, Col: 16): Unrecognized named-value: 'REPO'. Located at position 1 within expression: REPO
jobs:
generate-data:
runs-on: ${{ matrix.config.os }}
#container: ghcr.io/open-aims/seriatopora_analyses:main #put in the correct branch name
container: ghcr.io/open-aims/${{ REPO }}:main #put in the correct branch name
name: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest}
steps:
- name: test
run: |
echo "${{ Github.repository }}"
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
#- uses: actions/checkout@v4
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
#- name: Run Script
# run: |
# source("R/00_main.R")
# shell: Rscript {0}