Skip to content

Commit

Permalink
ci: fix atlas ci file (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
noamcattan authored Jul 28, 2024
1 parent 6cc2155 commit 46a6a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/full.ecommerce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
with:
cloud-token: ${{ secrets.ATLAS_PUBLIC_TENANT_TOKEN }}
- name: Lint
uses: ariga/atlas-action/lint@v1
uses: ariga/atlas-action/migrate/lint@v1
if: github.ref != 'refs/heads/master'
with:
dir: file://dirs/ecommerce/migrations
dir-name: ariga-atlas-showcase-dirs-ecommerce-migrations
dev-url: mysql://root:pass@localhost:3306/dev
- name: Push
if: github.ref == 'refs/heads/master'
uses: ariga/atlas-action/push@v1
uses: ariga/atlas-action/migrate/push@v1
with:
dir: file://dirs/ecommerce/migrations
dir-name: ariga-atlas-showcase-dirs-ecommerce-migrations
Expand Down

0 comments on commit 46a6a34

Please sign in to comment.