Skip to content

Commit

Permalink
feat:CD
Browse files Browse the repository at this point in the history
  • Loading branch information
goldapple-ce committed Sep 11, 2023
1 parent 5d6231f commit d0b7765
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,22 @@ jobs:
java-version: "11"
distribution: "temurin"

- name: checkout
uses: actions/checkout@master

- name: create env file
run: |
touch .env
echo "${{ secrets.ENV_VARS }}" >> .env
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ubuntu
key: ${{ secrets.PRIVATE_KEY }}
script: |
sh ~/TOTT/deploy.sh
sh ../../deploy.sh
# gradle caching - 빌드 시간 향상
- name: Gradle Caching
Expand Down

0 comments on commit d0b7765

Please sign in to comment.