Skip to content

✨feature : 토큰 응답정보 변경 #13

✨feature : 토큰 응답정보 변경

✨feature : 토큰 응답정보 변경 #13

Workflow file for this run

name: ci
on:
push:
tags:
- 'v**'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Dockerhub Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Gradle with JIB (API)
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 & Deploy 'API' module
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.REMOTE_SSH_HOST }}
# username: ${{ secrets.REMOTE_SSH_USERNAME }}
# key: ${{ secrets.REMOTE_SSH_KEY }}
# script: |
# docker pull johnpark0921/lotto-portfolio
# docker container run --name lotto-portfolio -p 8080:8080 johnpark0921/lotto-portfolio