Skip to content

Create project copy #12

Create project copy

Create project copy #12

Workflow file for this run

name: Import dataset for cloned project
on:
workflow_dispatch:
inputs:
sanity-project-id:
required: true
type: string
sanity-project-dataset:
required: true
type: string
jobs:
import-dataset:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_SANITY_PROJECT_ID: ${{ inputs.sanity-project-id }}
NEXT_PUBLIC_SANITY_DATASET: ${{ inputs.sanity-project-dataset }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install
- run: npx sanity debug --secrets