feat: spring scheduler 도입 및 메세지 푸시 자동화 #206
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
name: deploy | ||
on: | ||
push: | ||
branches: [ 'main' ] | ||
workflow_dispathch: | ||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
SSH: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run scripts in server | ||
uses: appleboy/ssh-action@master | ||
with: | ||
key: ${{ secrets.FRONT_EC2_SSH_KEY }} | ||
host: ${{ secrets.FRONT_EC2_HOST }} | ||
username: ${{ secrets.FRONT_EC2_USER }} | ||
script: | | ||
pwd | ||