Skip to content

Merge pull request #16 from malkoG/feature/curation #18

Merge pull request #16 from malkoG/feature/curation

Merge pull request #16 from malkoG/feature/curation #18

Workflow file for this run

name: pk web site backend deployment
on:
push:
branches:
- main # main 브랜치에 푸시될 때만 실행
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands for update
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOSTNAME }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd python.or.kr && git pull
- name: executing remote ssh commands for deployment
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOSTNAME }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd python.or.kr && bash deploy_prod.sh