Skip to content

Adding unvalidated content #8833

Adding unvalidated content

Adding unvalidated content #8833

name: Validation Flow
on: [push]
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Install dependencies
run: npm install
- name: Validation script
run: node validate.js
- name: Notify if failure
if: ${{ failure() }}
run: echo "Validation failed! :-("
- name: Copy on success
if: ${{ success() }}
run: |
echo "Validation succeeded! :-D"
git config --local user.email "[email protected]"
git config --local user.name "timbot22"
cp unvalidated_activity_list.jsonld activity-list.jsonld
git add activity-list.jsonld
git commit --allow-empty -m "[ci skip] Activity list export validated"
git push --force https://github.com/openactive/activity-list.git HEAD:master