Skip to content

Merge pull request #1 from freightapis/initial-commit #1

Merge pull request #1 from freightapis/initial-commit

Merge pull request #1 from freightapis/initial-commit #1

name: Build docs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build docs
run: ./.github/scripts/create-redoc-static-html.sh
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 # https://github.com/peaceiris/actions-gh-pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
force_orphan: true
exclude_assets: '.github,openapi.yaml,.redocly.yaml,LICENSE,README.md,make.sh'
permissions:
contents: write