👷 Push credentials also if the tests fail

This commit is contained in:
Jan Oberhauser 2021-07-03 14:47:31 +02:00
parent 276eaea4bf
commit ac89234329

View file

@ -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'