File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments