Update CI workflow to fetch submodules during checkout and fix GITHUB_TOKEN issue

This commit is contained in:
2024-09-24 18:00:58 +07:00
parent 2988f23a2e
commit 163262bf68

View File

@@ -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