Skip to content

Feature/#144 자동 배포 구축 #5

Feature/#144 자동 배포 구축

Feature/#144 자동 배포 구축 #5

Workflow file for this run

name: deploy
on:
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_IP }}
username: ${{ secrets.REMOTE_SSH_ID }}
key: ${{ secrets.REMOTE_SSH_KEY }}
passphrase: ${{ secrets.REMOTE_SSH_PASSPHRASE }}
port: ${{ secrets.REMOTE_SSH_PORT }}
script: |
cd $HOME
sh sw_css-deploy.sh
exit