Skip to content

Try different token #14

Try different token

Try different token #14

Workflow file for this run

name: Publish SDK Reference Docs
on:
push:
jobs:
PublishDocs:
name: Publish SDK Reference Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout Docs Repo
uses: actions/checkout@v3
with:
repository: immutable/imx-docs
token: ${{ secrets.PLATFORM_SA_GITHUB_TOKEN }}
path: imx-docs
ref: main
- name: Setup Github
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: 'yarn'
# - name: Install dependencies
# run: yarn install --immutable
# - name: Build
# run: export NODE_OPTIONS=--max-old-space-size=6144 && yarn build
# - name: Build SDK Docs
# run: yarn docs:build
- name: Create SDK Docs PR
run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} ./.github/scripts/push-docs-pr.sh
shell: bash