Skip to content

refactor: 공부시간 초기화 시간 변경 - 오전 4시 (#17) #3

refactor: 공부시간 초기화 시간 변경 - 오전 4시 (#17)

refactor: 공부시간 초기화 시간 변경 - 오전 4시 (#17) #3

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup SSH key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
- name: Deploy to Server
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.USER_NAME }}@${{ secrets.SERVER_IP }} '
cd ${{ secrets.FULL_RUN_CODE }}'