Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -18,8 +18,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true # Recursively clone submodules
|
||||
token: ${{ secrets.GITHUB_TOKEN }} # Use built-in GITHUB_TOKEN for private submodules
|
||||
fetch-depth: 0 # Fetch full history to avoid issues with shallow clones
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# Pull the latest version of base images and rebuild without cache
|
||||
- name: Build and deploy
|
||||
|
||||
Reference in New Issue
Block a user