diff --git a/.github/workflows/deploy_sanity_studio.yml b/.github/workflows/deploy_sanity_studio.yml new file mode 100644 index 0000000..d56c81e --- /dev/null +++ b/.github/workflows/deploy_sanity_studio.yml @@ -0,0 +1,15 @@ +name: Deploy Sanity +on: + push: + branches: [master, dev] +jobs: + sanity-deploy: + runs-on: ubuntu-latest + name: Deploy Sanity + steps: + - uses: actions/checkout@v2 + - uses: sanity-io/github-action-sanity@v0.7-alpha + env: + SANITY_AUTH_TOKEN: ${{ secrets.SANITY_DEPLOY }} + with: + args: deploy