Set origin to SSH in deploy
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user