Add GITHUB_TOKEN to checkout for Gitea authentication
Build and Deploy / deploy (push) Failing after 25s
Build and Deploy / deploy (push) Failing after 25s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user