Skip to content

统一将侧边栏中的 "OAuth2 服务器"、"OAuth2 服務器" 和 "OAuth2 伺服器" 文本更改为 "OAuth2 Server" #29

统一将侧边栏中的 "OAuth2 服务器"、"OAuth2 服務器" 和 "OAuth2 伺服器" 文本更改为 "OAuth2 Server"

统一将侧边栏中的 "OAuth2 服务器"、"OAuth2 服務器" 和 "OAuth2 伺服器" 文本更改为 "OAuth2 Server" #29

Workflow file for this run

name: Split Docs
on:
push:
paths:
- 'docs/**'
branches:
- main
workflow_dispatch:
jobs:
split:
name: Split on branch ${{ github.ref }}
if: github.repository == 'friendsofhyperf/components'
runs-on: ubuntu-22.04
env:
SSH_PRIVATE_KEY: ${{ secrets.SPLIT_PRIVATE_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Private Key
run: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "StrictHostKeyChecking no" >> ~/.ssh/config
- name: Split And Push
run: |
git config pull.rebase true
git config --global user.email "[email protected]"
git config --global user.name "Deeka Wong"
./bin/split-docs.sh