name: Synchronize Ant Design Styles
on:
push:
branches: [ master ]
workflow_dispatch:
inputs:
version:
description: 'Which version want to synchronize (Default latest)'
jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: hsuanxyz/zorro-styles-sync-action@v1
with:
account_token: ${{ secrets.BOT_TOKEN }}
$ npm run build
$ npm run build
$ git commit -m ".."
$ git tag -a -m ".." v1
$ git push --follow-tags