👷 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}} N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}}
- -
name: Export credentials name: Export credentials
if: always()
run: n8n/packages/cli/bin/n8n export:credentials --output=test-workflows/credentials.json --all --pretty run: n8n/packages/cli/bin/n8n export:credentials --output=test-workflows/credentials.json --all --pretty
shell: bash shell: bash
env: env:
N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}} N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}}
- -
name: Commit and push credential changes name: Commit and push credential changes
if: always()
run: | run: |
cd test-workflows cd test-workflows
git config --global user.name 'n8n test bot' git config --global user.name 'n8n test bot'