Skip to content

Commit f7ef4ce

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

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
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Create tar archive
3030
run: |
31-
tar -cvzf batch.tar.gz --exclude='.git' --exclude='.github' --exclude='.gitignore' --exclude='*.tar.gz' .
31+
tar -cvzf /tmp/batch.tar.gz --exclude='.git' --exclude='.github' --exclude='.gitignore' .
3232
3333
- name: Transfer archive via SCP
3434
uses: appleboy/scp-action@v0.1.7
@@ -37,7 +37,7 @@ jobs:
3737
username: ${{ secrets.PROD_SSH_USER }}
3838
key: ${{ secrets.PROD_SSH_KEY }}
3939
port: ${{ secrets.PROD_SSH_PORT }}
40-
source: batch.tar.gz
40+
source: /tmp/batch.tar.gz
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
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Create tar archive
3030
run: |
31-
tar -cvzf batch.tar.gz --exclude='.git' --exclude='.github' --exclude='.gitignore' --exclude='*.tar.gz' .
31+
tar -cvzf /tmp/batch.tar.gz --exclude='.git' --exclude='.github' --exclude='.gitignore' .
3232
3333
- name: Transfer archive via SCP
3434
uses: appleboy/scp-action@v0.1.7
@@ -37,7 +37,7 @@ jobs:
3737
username: ${{ secrets.STAGE_SSH_USER }}
3838
key: ${{ secrets.STAGE_SSH_KEY }}
3939
port: ${{ secrets.STAGE_SSH_PORT }}
40-
source: batch.tar.gz
40+
source: /tmp/batch.tar.gz
4141
target: ${{ secrets.STAGE_DEPLOY_PATH }}
4242

4343
- name: Run deploy script via SSH

0 commit comments

Comments
 (0)