Skip to content

Update Logo AFL Project & FRG Ecosystem #26

Update Logo AFL Project & FRG Ecosystem

Update Logo AFL Project & FRG Ecosystem #26

Workflow file for this run

name: Deploy Assets
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build_test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x] # We will deploy with only one version of node
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Validate JSON files
run: |
find . -name "*.json" -type f -print0 | while IFS= read -r -d '' file; do
echo "Validating $file"
if ! jq . "$file" > /dev/null 2>&1; then
echo "Invalid JSON: $file"
exit 1
fi
done
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./