Skip to content

Merge pull request #2 from freightapis/update-readme #2

Merge pull request #2 from freightapis/update-readme

Merge pull request #2 from freightapis/update-readme #2

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