Add GITHUB_TOKEN to checkout for Gitea authentication
Build and Deploy / deploy (push) Failing after 25s

This commit is contained in:
CalebLewallen
2026-05-14 10:32:51 -04:00
parent 0710fd3ce0
commit fa672acaf9
+5 -3
View File
@@ -6,10 +6,15 @@ on:
jobs: jobs:
deploy: deploy:
# 'ubuntu-latest' is a GitHub label. Many Gitea runners use 'act'
# or specific OS labels.
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 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 - name: Build Docker Image
run: | run: |
@@ -17,9 +22,6 @@ jobs:
- name: Deploy Container - name: Deploy Container
run: | 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 stop chesco-site || true
docker rm chesco-site || true docker rm chesco-site || true