Use auth token for git clone in CI
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m7s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m7s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch "${{ github.ref_name }}" "https://git.scottyah.com/${{ github.repository }}.git" .
|
git clone --depth 1 --branch "${{ github.ref_name }}" "https://x-access-token:${{ github.token }}@git.scottyah.com/${{ github.repository }}.git" .
|
||||||
git checkout "${{ github.sha }}"
|
git checkout "${{ github.sha }}"
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
|
|||||||
Reference in New Issue
Block a user