Compare commits
No commits in common. "3e918baf741a28e1b6d8f71b02ed1d689d7c912f" and "acf18221ae2a9661c60bff9eb9627dc5789ec170" have entirely different histories.
3e918baf74
...
acf18221ae
@ -12,9 +12,7 @@ jobs:
|
||||
image: maven:3.9-eclipse-temurin-17
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth=1 --branch=${GITHUB_REF_NAME} \
|
||||
${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git .
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure Maven settings
|
||||
run: |
|
||||
@ -41,9 +39,8 @@ jobs:
|
||||
- name: Build
|
||||
run: mvn clean package -DskipTests -B
|
||||
|
||||
- name: Deploy
|
||||
- name: Deploy to server
|
||||
run: |
|
||||
cp target/gc-guide-api-*.jar /deploy/api/app.jar
|
||||
date '+%Y-%m-%d %H:%M:%S' > /deploy/api/.deploy-trigger
|
||||
echo "Deployed at $(cat /deploy/api/.deploy-trigger)"
|
||||
echo "Deployed at $(date '+%Y-%m-%d %H:%M:%S')"
|
||||
ls -la /deploy/api/
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user