Skip to content

Commit

Permalink
[Update] cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyunio authored Nov 13, 2024
1 parent b167236 commit 8438879
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI/CD

on:
push:
branches: [ "master" ]
branches: [ "server" ]
pull_request:
branches: [ "master" ]
branches: [ "server" ]

jobs:
build:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
run : ./gradlew clean build --exclude-task test

- name: Send file to the server
uses: appleboy/scp-action@master
uses: appleboy/scp-action@server
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
Expand All @@ -43,7 +43,7 @@ jobs:
target: download

- name: Deploy remote ssh commands using password
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@server
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
Expand Down

0 comments on commit 8438879

Please sign in to comment.