ci: add auth to git clone in workflows
This commit is contained in:
@@ -18,8 +18,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git . 2>&1
|
||||
git fetch origin ${{ github.sha }} 2>/dev/null; git checkout ${{ github.sha }} 2>/dev/null || true
|
||||
git clone --depth 1 --branch $GITHUB_HEAD_REF http://abiba-bot:***REDACTED***@192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git . 2>&1 || git clone --depth 1 http://abiba-bot:***REDACTED***@192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git . 2>&1
|
||||
|
||||
- name: Validate config schemas
|
||||
run: |
|
||||
@@ -54,7 +53,7 @@ jobs:
|
||||
needs: [validate]
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 http://192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
run: git clone --depth 1 http://abiba-bot:***REDACTED***@192.168.68.17:3000/SyslogSolution/zulip-platform-plugins.git .
|
||||
- name: Deploy to agents
|
||||
env:
|
||||
TAG: ${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user