diff --git a/.github/workflows/publish-workflows-service.yml b/.github/workflows/publish-workflows-service.yml index 410639b0d6..f2c3f9dce8 100644 --- a/.github/workflows/publish-workflows-service.yml +++ b/.github/workflows/publish-workflows-service.yml @@ -301,11 +301,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + + - name: Checkout cloud-infra-config repository + uses: actions/checkout@v4 with: + repository: ballerine-io/wf-data-migration + token: ${{ secrets.GIT_TOKEN }} + ref: ${{ github.ref_name }} fetch-depth: 1 - submodules: 'recursive' - token: ${{ secrets.SUBMODULES_TOKEN }} - + path: services/workflows-service/prisma/data-migrations + - name: Cache Docker layers id: cache uses: actions/cache@v2 @@ -316,14 +321,6 @@ jobs: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }} ${{ runner.os }}-docker- - - name: Fetch submodule branch - id: fetch-submodule - run: | - cd services/workflows-service/prisma/data-migrations - git fetch --no-tags --depth=1 origin +refs/heads/dev:refs/remotes/origin/${{ github.ref_name }} - git checkout ${{ github.ref_name }} - cd ../../../.. - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2