Skip to content

Use toJson() instead of .name if enums have toJson(). (#596) #223

Use toJson() instead of .name if enums have toJson(). (#596)

Use toJson() instead of .name if enums have toJson(). (#596) #223

Workflow file for this run

name: Deploy latest docs
on:
push:
branches:
- master
- release/*
jobs:
build:
runs-on: ubuntu-latest
container:
image: dart:stable
steps:
- uses: actions/checkout@v3.3.0
- name: Build docs
run: |
cd retrofit
dart doc
mv doc/api ../public
- name: GitHub Pages
uses: crazy-max/ghaction-github-pages@v3.1.0
with:
build_dir: public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}