From 2988f23a2e226d0f2cedf9187b283d31615a40a4 Mon Sep 17 00:00:00 2001 From: Ly Tuan Kiet Date: Tue, 24 Sep 2024 17:51:46 +0700 Subject: [PATCH] Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4d49cb..dd2dadc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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