Skip to content

Commit

Permalink
chore: add branch_example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
earayu committed Dec 17, 2024
1 parent 081c2b1 commit 112351f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/branch_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ jobs:
uses: actions/checkout@v3

- name: Create MySQL Branch
uses: wesql/mysql-branch-creation-action@v1
uses: wesql/mysql-branch-action@v0.0.2
with:
source_host: '47.93.127.119'
source_port: '15306' # Optional
source_user: 'root' # Optional
include_databases: '*' # Optional
exclude_databases: 'information_schema,mysql,performance_schema,sys' # Optional
wescale_image: 'apecloud/apecloud-mysql-scale:0.3.8' # Optional
secrets:
source_password: ${{ secrets.source_password }}
source_port: '15306'
source_user: 'root'
source_password: ${{ secrets.SOURCE_PASSWORD }}
include_databases: '*'
exclude_databases: 'information_schema,mysql,performance_schema,sys'
wescale_image: 'apecloud/apecloud-mysql-scale:0.3.8'

- name: Do Your Schema Migration
run: |
Expand Down

0 comments on commit 112351f

Please sign in to comment.