Skip to content

feat: update Next runtime to 5.1.0 behind gradual rollout feature flag and opt-in #429

feat: update Next runtime to 5.1.0 behind gradual rollout feature flag and opt-in

feat: update Next runtime to 5.1.0 behind gradual rollout feature flag and opt-in #429

Workflow file for this run

name: Sync Plugins to CMS
on:
pull_request:
types:
- closed
jobs:
sync-to-cms:
# Only run if the merged PR wasn't an automated PR for synching from the cms to the repo
if: github.event.pull_request.merged && !contains(github.event.pull_request.labels.*.name, 'cms_sync')
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Using Node.js
uses: actions/setup-node@v3
with:
node-version: '*'
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm install
- name: Sync plugins to CMS
env:
SANITY_API_TOKEN: ${{ secrets.SANITY_API_TOKEN }}
SANITY_PROJECT_ID: ${{ secrets.SANITY_PROJECT_ID }}
SANITY_DATASET: ${{ secrets.SANITY_DATASET }}
run: npx tsx bin/sync_plugins_to_cms.js