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