From fa672acaf97884889ecc3a8c350139eacf2dce5b Mon Sep 17 00:00:00 2001 From: CalebLewallen Date: Thu, 14 May 2026 10:32:51 -0400 Subject: [PATCH] Add GITHUB_TOKEN to checkout for Gitea authentication --- .gitea/workflows/deploy.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 437d40b7..3c5d69dc 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -6,10 +6,15 @@ on: jobs: deploy: + # 'ubuntu-latest' is a GitHub label. Many Gitea runners use 'act' + # or specific OS labels. runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 + with: + # Explicitly provide the token to ensure the runner can pull the private repo + token: ${{ secrets.GITHUB_TOKEN }} - name: Build Docker Image run: | @@ -17,9 +22,6 @@ jobs: - name: Deploy Container run: | - # We use direct docker commands here because they work over the socket - # without needing files to be physically present on the host's disk. - docker stop chesco-site || true docker rm chesco-site || true