Skip to content

Commit 6b4c8c5

Browse files
authored
feat: cicd 작성
1 parent 437a658 commit 6b4c8c5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches: [ cicd ]
4+
5+
jobs:
6+
deploy:
7+
name: deploy
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: excuting remote ssh commands
12+
uses: appleboy/[email protected]
13+
with:
14+
host: ${{ secrets.REMOTE_IP }}
15+
username: ${{ secrets.REMOTE_USER }}
16+
key: ${{ secrets.REMOTE_PRIVATE_KEY }}
17+
port: ${{ secrets.REMOTE_SSH_PORT }}
18+
passphrase: ${{ secrets.SSH_PASSWORD }}
19+
script: |
20+
ls -al

0 commit comments

Comments
 (0)