mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
chore: Create correct GitHub token for document sync (#17112)
This commit is contained in:
16
.github/workflows/sync-public-api-docs.yml
vendored
16
.github/workflows/sync-public-api-docs.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user