Skip to content

Update training.json #622

Update training.json

Update training.json #622

Workflow file for this run

name: Validate Portal JSONs
on:
push:
paths:
- '_data/portals/*.json'
pull_request:
paths:
- '_data/portals/*.json'
workflow_dispatch:
jobs:
verify-json-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Validate JSON
uses: docker://orrosenblatt/validate-json-action:latest
env:
INPUT_SCHEMA: /_data/portals/PortalGroup.schema.json
INPUT_JSONS: /_data/portals/admin.json,/_data/portals/thirdparty.json,/_data/portals/us-govt.json,/_data/portals/user.json
- name: Discord Webhook Notify
if: ${{ failure() }}
# uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112
uses: rjstone/discord-webhook-notify@v1.0.4
with:
# Discord webhook URL. Should be stored in a secret and inserted as a context expression.
webhookUrl: ${{ secrets.DiscordPsychoPingKey }}