From ac892343292f398325f56de4dd5e6dc1769cd61a Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sat, 3 Jul 2021 14:47:31 +0200 Subject: [PATCH] :construction_worker: Push credentials also if the tests fail --- .github/workflows/test-workflows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-workflows.yml b/.github/workflows/test-workflows.yml index 15e813b7ae..3a9064884d 100644 --- a/.github/workflows/test-workflows.yml +++ b/.github/workflows/test-workflows.yml @@ -69,12 +69,14 @@ jobs: N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}} - name: Export credentials + if: always() run: n8n/packages/cli/bin/n8n export:credentials --output=test-workflows/credentials.json --all --pretty shell: bash env: N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}} - name: Commit and push credential changes + if: always() run: | cd test-workflows git config --global user.name 'n8n test bot'