Skip to content

Commit

Permalink
refactor(github) : build 단계랑 deploy 단계로 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
Woongbin06 committed Apr 16, 2024
1 parent ce125c9 commit c961481
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ jobs:
- name: Build with Gradle Wrapper
run: ./gradlew clean build -x test

deploy:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to server
uses: appleboy/scp-action@master
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_NAME }}
Expand Down

0 comments on commit c961481

Please sign in to comment.