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 5872192 commit 37936ff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/create_migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ jobs:
run: migrate create -ext sql -dir ${{ github.event.inputs.directory }} -seq ${{ github.event.inputs.name }}

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

0 comments on commit 37936ff

Please sign in to comment.