Fix deploy: use localhost instead of Docker-internal hostname for git pull
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
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 ssh://git@gitea:2222/adamf/web_server.git main
|
git pull ssh://git@localhost:2222/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