Netlify CMS でコンテンツ格納先ディレクトリにファイルをアップロードする

抜粋

publish_mode: editorial_workflow

media_folder: 'src/uploads'
public_folder: '/uploads'

collections:
- name: 'post'
label: 'Post'
folder: 'src/posts'
create: true
slug: ''
path: 'netlify-cms-upload-file-to-content-directory/index'
fields:
- label: 'Files'
name: 'files'
widget: 'file'
required: false
media_library:
config:
multiple: true

要点

参考