Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayon-Hong authored Dec 27, 2023
1 parent dd1ac29 commit 3413291
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1 @@
name: techeer-market

on:
push:
branches:
- main
workflow_dispatch: # 브랜치 push 뿐만 아니라 수동 실행도 가능하게 해줌

jobs:
build:
runs-on: ubuntu-latest # 깃허브 액션 스크립트가 작동될 OS 환경 지정

steps:
- name: Checkout
uses: actions/checkout@v2 # 프로젝트 코드를 check out

- name: Set up JDK 17
uses: actions/setup-java@v2 # 깃허브 액션이 실행될 OS에 Java 설치
with:
java-version: '17'
distribution: 'adopt'

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew # gradle wrapper를 실행할 수 있도록 권한 부여
shell: bash

- name: Build with Gradle
run: ./gradlew clean build # 프로젝트 빌드
shell: bash

- name: Get current time
uses: 1466587594/get-current-time@v2 # 빌드 완료 시간 가져오기
id: current-time
with:
format: YYYY-MM-DDTHH-mm-ss
utcOffset: "+09:00"

- name: Show Current Time
run: echo "CurrentTime=${{steps.current-time.outputs.formattedTime}}" # 빌드 완료 시간 출력하기
shell: bash

0 comments on commit 3413291

Please sign in to comment.