Skip to content

Commit

Permalink
use setup-atlas with cloud-token
Browse files Browse the repository at this point in the history
  • Loading branch information
dorav committed Sep 25, 2023
1 parent 344d342 commit b210705
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: ariga/setup-atlas@v0
with:
cloud-token: ${{ secrets.INTEGRATION_ATLAS_CLOUD_TOKEN }}
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
Expand All @@ -40,10 +42,6 @@ jobs:
with:
dir: file://atlasaction/testdata/migrations
url: sqlite://file.db?mode=memory
- uses: ariga/setup-atlas@v0
- name: Login to Atlas
shell: bash
run: atlas login --token ${{ secrets.INTEGRATION_ATLAS_CLOUD_TOKEN }}
- uses: ./migrate/push
with:
dir: file://atlasaction/testdata/migrations
Expand Down

0 comments on commit b210705

Please sign in to comment.