Skip to content

Merge pull request #75 from highmobility/add-vw-to-support-cancelling #25

Merge pull request #75 from highmobility/add-vw-to-support-cancelling

Merge pull request #75 from highmobility/add-vw-to-support-cancelling #25

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Docs
run: |
mkdir -p docs/v1
npx --yes @redocly/cli join introduction.yml hm-oauth-rest-v1.yml hm-vehicle-data-api-v1.yml hm-vehicle-static-data-api-v1.yml hm-fleet-clearance-v1.yml hm-eligibility-v1.yml -o hm-apis.yaml
npx @redocly/cli build-docs --disableGoogleFont --output=docs/v1/index.html hm-apis.yaml
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/