diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 481e339..f7bc9ce 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -28,6 +28,8 @@ jobs: with: repository: GetTechAPI/TechAPI path: TechAPI + # Record timestamps are read from git history (app/seed.py). + fetch-depth: 0 - uses: actions/setup-python@v6 with: diff --git a/.github/workflows/dump-refresh.yml b/.github/workflows/dump-refresh.yml index 49183bc..e3bd674 100644 --- a/.github/workflows/dump-refresh.yml +++ b/.github/workflows/dump-refresh.yml @@ -42,6 +42,9 @@ jobs: repository: GetTechAPI/TechAPI path: techapi token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }} + # created_at/updated_at come from each record's git history; with the + # default depth-1 checkout every record would report the tip commit. + fetch-depth: 0 - uses: actions/setup-python@v6 with: