Files
dbgate/workflow-templates/diflow.yaml
SPRINX0\prochazka 27df4c435f use different secret
2025-02-21 09:52:30 +01:00

37 lines
756 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 --secret
env:
DIFLOW_GIT_SECRET: '${{ secrets.GH_TOKEN }}'