Use HTTP URL for git pull in deploy workflow
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 0s

The act_runner container lacks SSH, so pull via HTTP using the
Docker network hostname instead of the named SSH remote.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 12:59:51 +01:00
parent a967a249c2
commit 68b9985d99

View File

@@ -12,7 +12,7 @@ jobs:
working-directory: /home/adamf/deploy/web_server working-directory: /home/adamf/deploy/web_server
run: | run: |
git config --global --add safe.directory /home/adamf/deploy/web_server git config --global --add safe.directory /home/adamf/deploy/web_server
git pull gitea main git pull http://gitea:3000/adamf/web_server.git main
- name: Run docker compose up - name: Run docker compose up
working-directory: /home/adamf/deploy/web_server working-directory: /home/adamf/deploy/web_server