diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index b197b74..facd9a7 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -2,9 +2,9 @@ name: CI/CD on: push: - branches: [ "master" ] + branches: [ "server" ] pull_request: - branches: [ "master" ] + branches: [ "server" ] jobs: build: @@ -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 }} @@ -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 }}