Skip to content

Merge pull request #897 from oceanbase/dependabot/npm_and_yarn/featur… #148

Merge pull request #897 from oceanbase/dependabot/npm_and_yarn/featur…

Merge pull request #897 from oceanbase/dependabot/npm_and_yarn/featur… #148

name: Sync Feature Branch
on:
# Runs on pushes targeting the default branch
push:
branches: ['feature']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
if: github.repository == 'oceanbase/oceanbase-design'
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: feature
# Sync `feature` branch from oceanbase/oceanbase-design to dengfuping/oceanbase-design
# `feature` branch will be deployed auto in Vercel after sync success
- name: Sync feature branch
env:
SYNC_TOKEN: ${{ secrets.SYNC_TOKEN }}
run: |
git push -f https://dengfuping:[email protected]/dengfuping/oceanbase-design feature:feature