Skip to content

Commit

Permalink
✨feature : CD 환경설정
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkYunHo committed Jun 28, 2023
1 parent 563fbc3 commit 9fcd9e9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,15 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Gradle with JIB
run: ./gradlew clean --stacktrace -PtagName=$GITHUB_REF_NAME --build-file=./api/build.gradle.kts -Djib.console=plain -Djib.useOnlyProjectCache=true jib
run: ./gradlew clean --stacktrace -PtagName=$GITHUB_REF_NAME --build-file=./api/build.gradle.kts -Djib.console=plain -Djib.useOnlyProjectCache=true jib

- name: execute remote ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_SSH_HOST }}
username: ${{ secrets.REMOTE_SSH_USERNAME }}
key: ${{ secrets.REMOTE_SSH_KEY }}
# passphrase: ${{ secrets.REMOTE_SSH_PASSPHRASE }}
# port: ${{ secrets.REMOTE_SSH_PORT }}
script: |
whoami

0 comments on commit 9fcd9e9

Please sign in to comment.