Skip to content

Commit

Permalink
feat: created workflows to create new migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Ilham committed Feb 3, 2023
1 parent f518809 commit dd6d6b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/create_migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ jobs:
run: migrate create -ext sql -dir ${{ github.event.inputs.directory }} -seq ${{ github.event.inputs.name }}

- name: Push branch
run: git push origin ${{ github.event.inputs.name }}

run: |
echo "adding new migration template..."
git add ${{ github.event.inputs.directory }}
echo "Push new branch..."
git push origin ${{ github.event.inputs.name }}

0 comments on commit dd6d6b7

Please sign in to comment.