Skip to content

Merge pull request #84 from fernando-andutta/main #117

Merge pull request #84 from fernando-andutta/main

Merge pull request #84 from fernando-andutta/main #117

Workflow file for this run

name: process-corpus
on:
repository_dispatch:
types:
- webhook
# schedule:
# - cron: "57 * * * *"
workflow_dispatch: {}
push:
paths:
- .github/workflows/processor.yml
- ./process.js
jobs:
process:
runs-on: ubuntu-latest
steps:
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.28.x
- name: Check out repo
uses: actions/checkout@v3
- name: Create Log Directory
run: mkdir -p logs
- name: Run Corpus Processor
run: deno task process
- name: Set Date Environment Variable
id: date
run: echo "title='Automatic Corpus Processing: $(date +'%Y-%m-%d')'" >> $GITHUB_OUTPUT

Check failure on line 29 in .github/workflows/processor.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/processor.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: ${{ env.title }}
branch: corpus-update