diff --git a/.github/workflows/diflow.yaml b/.github/workflows/diflow.yaml index ef21d66f0..87b916044 100644 --- a/.github/workflows/diflow.yaml +++ b/.github/workflows/diflow.yaml @@ -27,4 +27,6 @@ jobs: - name: Diflow run (don't push) run: | cd diflow - node dist/diflow.js https://github.com/dbgate/dbgate-diflow-config.git --no-push + 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 }}' diff --git a/workflow-templates/diflow.yaml b/workflow-templates/diflow.yaml index e2a5b5f43..4040f4003 100644 --- a/workflow-templates/diflow.yaml +++ b/workflow-templates/diflow.yaml @@ -30,4 +30,7 @@ jobs: - name: Diflow run (don't push) run: | cd diflow - node dist/diflow.js https://github.com/dbgate/dbgate-diflow-config.git --no-push + 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 }}' +