mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-27 19:57:11 +00:00
github: make lftp verbose
also move the install to a separate step so it is easier to read the logs
This commit is contained in:
committed by
David Lechner
parent
1a57031dd7
commit
7ba99d62bb
@@ -19,6 +19,9 @@ jobs:
|
||||
- name: Build
|
||||
if: ${{ success() }}
|
||||
run: yarn build
|
||||
- name: Install lftp
|
||||
if: ${{ success() }}
|
||||
run: sudo apt-get update && sudo apt-get install --yes lftp
|
||||
- name: Publish
|
||||
if: ${{ success() }}
|
||||
shell: bash
|
||||
@@ -27,5 +30,4 @@ jobs:
|
||||
LFTP_PASSWORD: ${{ secrets.lftpPassword }}
|
||||
LFTP_SITE: ${{ secrets.lftpSite }}
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install --yes lftp
|
||||
lftp -e "set ssl:check-hostname false; open --user $LFTP_USER --env-password $LFTP_SITE && mirror --reverse --delete --exclude=.htaccess build code; exit"
|
||||
lftp -e "set ssl:check-hostname false; open --user $LFTP_USER --env-password $LFTP_SITE && mirror --verbose --reverse --delete --exclude=.htaccess build code; exit"
|
||||
|
||||
Reference in New Issue
Block a user