Use HTTP URL for git pull in deploy workflow
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 0s
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user