Set origin to SSH in deploy

This commit is contained in:
Lectom C Han
2026-02-04 15:15:51 +09:00
parent 437b9348ce
commit dd7adfb96f

View File

@@ -19,8 +19,10 @@ jobs:
port: ${{ vars.SSH_PORT }} port: ${{ vars.SSH_PORT }}
script: | script: |
set -e set -e
cd ${{ secrets.DEPLOY_PATH }} cd ${{ vars.DEPLOY_PATH }}
git remote set-url origin git@gitea.hmac.kr:b24014/kngil_home.git
cat << 'ENVEOF' > .env cat << 'ENVEOF' > .env
WEB_HOST_PORT=${{ vars.WEB_HOST_PORT }}
DB_HOST=${{ vars.DB_HOST }} DB_HOST=${{ vars.DB_HOST }}
DB_PORT=${{ vars.DB_PORT }} DB_PORT=${{ vars.DB_PORT }}
DB_HOST_PORT=${{ vars.DB_HOST_PORT }} DB_HOST_PORT=${{ vars.DB_HOST_PORT }}