Skip to content

Commit

Permalink
use script to gen mig file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored and Pantani committed Mar 8, 2024
1 parent eeb33a6 commit 29d148d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gen-docs-migration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Generate Migration Docs
on:
release:
types: [published]
types: [ published ]

jobs:
cli:
Expand All @@ -14,7 +14,7 @@ jobs:
go-version: '1.21'

- name: Generate Scaffold Migration Docs
run: go run ./ignite/internal/tools/gen-mig-diffs/main.go
run: ./scripts/gen-mig-diffs

- name: Create Pull Request
id: cpr
Expand Down
3 changes: 3 additions & 0 deletions scripts/gen-mig-diffs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

go run ignite/internal/tools/gen-mig-diffs/*.go

0 comments on commit 29d148d

Please sign in to comment.