This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
lint: dom-to-image 이미지 저장 화질 개선 #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: [release] | |
types: [closed] | |
jobs: | |
build: | |
if: ${{ github.event.pull_request.merged }} | |
name: Deploy on stocodi.com | |
runs-on: ubuntu-latest | |
# 경고 무시 | |
env: | |
CI: false | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: deploy | |
uses: appleboy/ssh-action@master | |
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 | |
echo ${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo -S git checkout release --force | |
echo ${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo -S git pull origin release --force | |
chmod +x ./deploy.sh | |
echo ${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo -S bash ./deploy.sh |