Skip to content

Commit

Permalink
fix(ci): Added step to generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adanylenko committed Mar 7, 2024
1 parent 5b00ff6 commit f3976a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: release
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/semver-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}
Expand All @@ -39,6 +39,9 @@ jobs:
run: make build
- name: Test app
run: make test
- name: Generate documentation
run: make docs
run: make test
- name: Install dependencies
run: npm i -D @semantic-release/git @semantic-release/changelog @commitlint/{cli,config-conventional} commitlint
# - name: Check commit format
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ Collection resource

### Required

- `default_sorting_field` (String) Default sorting field
- `name` (String) Collection name

### Optional

- `default_sorting_field` (String) Default sorting field
- `fields` (Block List) (see [below for nested schema](#nestedblock--fields))

### Read-Only

- `id` (String) Example identifier
- `id` (String) Id identifier

<a id="nestedblock--fields"></a>
### Nested Schema for `fields`
Expand Down

0 comments on commit f3976a5

Please sign in to comment.