mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
37 lines
750 B
YAML
37 lines
750 B
YAML
name: Diflow merge
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
merge:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Use Node.js 22.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 22.x
|
|
|
|
- name: Checkout dbgate/diflow
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: dbgate/diflow
|
|
path: diflow
|
|
|
|
- name: Diflow install
|
|
run: |
|
|
cd diflow
|
|
npm install
|
|
npm run build
|
|
|
|
- name: Diflow run (don't push)
|
|
run: |
|
|
cd diflow
|
|
node dist/diflow.js sync -r https://${SECRET}@github.com/dbgate/dbgate-diflow-config.git -b master --skip-push
|
|
env:
|
|
DIFLOW_GIT_SECRET: '${{ secrets.GITHUB_TOKEN }}'
|
|
|