From 163262bf684a141c0f713db3e23b68c861b94d0c Mon Sep 17 00:00:00 2001 From: Ly Tuan Kiet Date: Tue, 24 Sep 2024 18:00:58 +0700 Subject: [PATCH] Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd2dadc..6ac5f70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,8 @@ jobs: uses: actions/checkout@v4 with: submodules: true # Recursively clone submodules + token: ${{ secrets.PAT }} 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