Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

fix: ssh username 필드 추가 #4

fix: ssh username 필드 추가

fix: ssh username 필드 추가 #4

Workflow file for this run

name: Release
on:
push:
branches:
- release
jobs:
deployment:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{secrets.DEPLOY_SERVER_HOST}}
username: ${{secrets.DEPLOY_SERVER_USERNAME}}
password: ${{secrets.DEPLOY_SERVER_PASSWORD}}
port: ${{secrets.DEPLOY_SERVER_PORT}}
script: |
cd stocodi-web
git fetch
git pull origin release
${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo ./deploy.sh