add eslint ignore line #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish-schema-docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build docs | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install json-schema-for-humans | |
- run: mkdir -p html/docs/schema/config | |
- run: generate-schema-doc --config expand_buttons=true schema/config.schema.json html/docs/schema/config/index.html | |
- run: ls html/docs/schema/config | |
- name: publish docs | |
uses: SamKirkland/FTP-Deploy-Action@v4.3.4 | |
with: | |
server: ${{secrets.FTP_URL}} | |
username: ${{secrets.FTP_USERNAME}} | |
password: ${{secrets.FTP_PASSWORD}} | |
local-dir: ./html/docs/schema/config/ | |
server-dir: docs/schema/config/ | |
port: 21 | |
protocol: ftps |