diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad62dd9..a89cc50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,8 +15,6 @@ jobs: with: args: . deploy - name: deploy-graphql - uses: sanity-io/github-action-sanity@v0.4 - env: - SANITY_AUTH_TOKEN: ${{ secrets.SANITY_AUTH_TOKEN }} - with: - args: . graphql deploy --playground --dataset production + run: | + SANITY_AUTH_TOKEN="${{ secrets.SANITY_AUTH_TOKEN }}" \ + yarn deploy-graphql:production