Skip to content

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

Feature/#144 자동 배포 구축

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

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@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3
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: |
${{ secrets.REMOTE_SHELL_SCRIPT }}