chore: Create correct GitHub token for document sync (#17112)

This commit is contained in:
Marc Littlemore
2025-07-08 16:15:32 +01:00
committed by GitHub
parent ac640605a4
commit 72b945074f

View File

@@ -27,8 +27,18 @@ jobs:
- name: Checkout Main n8n Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Environment and Build Project
uses: ./.github/actions/setup-and-build
- name: Setup PNPM
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22.x'
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
shell: bash
- name: Build Public API Schema
run: pnpm run build:data
@@ -52,6 +62,8 @@ jobs:
with:
app-id: ${{ secrets.N8N_ASSISTANT_APP_ID }}
private-key: ${{ secrets.N8N_ASSISTANT_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: n8n-docs
- name: Checkout Docs Repository
if: steps.verify_file.outputs.file_exists == 'true'