revert: remove registry login from deploy step
This commit is contained in:
parent
14d1837ee9
commit
349107fa6f
1 changed files with 1 additions and 2 deletions
|
|
@ -66,5 +66,4 @@ jobs:
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
||||||
"docker login git.lilastudy.com -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} && \
|
"cd ~/lila-app && docker compose pull api web && docker compose up -d api web && docker image prune -f"
|
||||||
cd ~/lila-app && docker compose pull api web && docker compose up -d api web && docker image prune -f"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue