Skip to content

Commit

Permalink
Update deploy_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
han16nah authored Aug 4, 2024
1 parent fc50606 commit 68bf529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: bash build_test.sh
- name: Upload to FTP (only changed files)
run: lftp -c "set sftp:auto-confirm yes ; open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASSWORD }} -p ${{ secrets.FTP_PORT }} sftp://${{ secrets.FTP_HOST }} ; mirror -Rn --ignore-time -P 12 upload/ /web/website_tmp ; quit"
if: ${{ github.event.inputs.REUPLOAD_ALL == 'false'}}
# if: ${{ github.event_name == 'push' || github.event.inputs.REUPLOAD_ALL == 'false'}}
- name: Upload to FTP (all files)
run: lftp -c "set sftp:auto-confirm yes ; open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASSWORD }} -p ${{ secrets.FTP_PORT }} sftp://${{ secrets.FTP_HOST }} ; mirror -R -P 12 upload/ /web/website_tmp ; quit"
if: ${{ github.event.inputs.REUPLOAD_ALL == 'true'}}

0 comments on commit 68bf529

Please sign in to comment.