mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
👷 Push credentials also if the tests fail
This commit is contained in:
2
.github/workflows/test-workflows.yml
vendored
2
.github/workflows/test-workflows.yml
vendored
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user