Skip to content

Commit 5da34eb

Browse files
committed
fix: 배포 워크 플로우 수정
1 parent f7ef4ce commit 5da34eb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
uses: actions/checkout@v4
1313

1414
- name: Record start time
15-
id: start
16-
run: echo "time=$(date +%s)" >> "$GITHUB_OUTPUT"
15+
run: echo "START_TIME=$(date +%s)" >> $GITHUB_ENV
1716

1817
- name: Notify Slack - Deploy Start
1918
env:
@@ -38,6 +37,7 @@ jobs:
3837
key: ${{ secrets.PROD_SSH_KEY }}
3938
port: ${{ secrets.PROD_SSH_PORT }}
4039
source: /tmp/batch.tar.gz
40+
strip_components: 1
4141
target: ${{ secrets.PROD_DEPLOY_PATH }}
4242

4343
- name: Run deploy script via SSH

.github/workflows/deploy-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
uses: actions/checkout@v4
1313

1414
- name: Record start time
15-
id: start
16-
run: echo "time=$(date +%s)" >> "$GITHUB_OUTPUT"
15+
run: echo "START_TIME=$(date +%s)" >> $GITHUB_ENV
1716

1817
- name: Notify Slack - Deploy Start
1918
env:
@@ -38,6 +37,7 @@ jobs:
3837
key: ${{ secrets.STAGE_SSH_KEY }}
3938
port: ${{ secrets.STAGE_SSH_PORT }}
4039
source: /tmp/batch.tar.gz
40+
strip_components: 1
4141
target: ${{ secrets.STAGE_DEPLOY_PATH }}
4242

4343
- name: Run deploy script via SSH

0 commit comments

Comments
 (0)