Files
dbgate/workflow-templates/diflow.yaml
SPRINX0\prochazka 01ba8b4f3f commit info
2025-02-21 10:24:42 +01:00

42 lines
921 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: Git config
run: |
git config --global user.email "info@dbgate.io"
git config --global user.name "Diflow"
- name: Diflow run (don't push)
run: |
cd diflow
node dist/diflow.js sync -r https://DIFLOW_GIT_SECRET@github.com/dbgate/dbgate-diflow-config.git -b master --skip-push
env:
DIFLOW_GIT_SECRET: '${{ secrets.DIFLOW_GIT_SECRET }}'