update logo image #62
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: Build ReDoc | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build redoc | |
run: npx @redocly/cli build-docs openapi.yaml --output index.html | |
- name: Build redoc for v2 | |
run: npx @redocly/cli build-docs v2/openapi/fb-unified-openapi.yaml --output v2/docs.html | |
- name: Copy v2 assets | |
run: mkdir -p v2/doc-assets && cp v2/openapi/doc-assets/* v2/doc-assets/ | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: . | |
exclude_assets: '.github,openapi.yaml,v2/openapi,v2/api-validator,assets,README.md' |