Skip to content

refactor(docs): deactivate docs sync for v2 #139

refactor(docs): deactivate docs sync for v2

refactor(docs): deactivate docs sync for v2 #139

Workflow file for this run

name: "Sync docs"
on:
# push:
# branches:
# - v2
# paths:
# - "docs/**"
# release:
# types: [published]
jobs:
sync-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Sync docs
run: ./.github/scripts/sync_docs.sh
env:
EVENT: ${{ github.event_name }}
TAG_NAME: ${{ github.ref_name }}
TOKEN: ${{ secrets.DOC_SYNC_TOKEN }}