From e1c7a828b997817b10ab98a07586e310993afcfd Mon Sep 17 00:00:00 2001 From: blushi Date: Thu, 11 May 2023 10:27:18 +0200 Subject: [PATCH] ci: deploy-graphql --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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