This commit is contained in:
parent
3ee3879db7
commit
f9072c3cfc
8
.github/workflows/default.yaml
vendored
8
.github/workflows/default.yaml
vendored
@ -69,12 +69,8 @@ jobs:
|
|||||||
- name: Install, build, and upload your site output
|
- name: Install, build, and upload your site output
|
||||||
run: pnpm i && pnpm build
|
run: pnpm i && pnpm build
|
||||||
|
|
||||||
deploy:
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: 🚀 Deploy files via SFTP
|
- name: 🚀 Deploy files via SFTP
|
||||||
uses: https://github.com/pressidium/lftp-mirror-action@v1
|
uses: pressidium/lftp-mirror-action@v1
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.FTP_HOST }}
|
host: ${{ secrets.FTP_HOST }}
|
||||||
port: ${{ secrets.FTP_PORT || 21 }}
|
port: ${{ secrets.FTP_PORT || 21 }}
|
||||||
@ -83,6 +79,6 @@ jobs:
|
|||||||
onlyNewer: true
|
onlyNewer: true
|
||||||
parallel: '4'
|
parallel: '4'
|
||||||
settings: 'sftp:auto-confirm=yes'
|
settings: 'sftp:auto-confirm=yes'
|
||||||
localDir: 'public'
|
localDir: 'dist'
|
||||||
remoteDir: '/share/new-website'
|
remoteDir: '/share/new-website'
|
||||||
options: '--verbose'
|
options: '--verbose'
|
||||||
|
Loading…
Reference in New Issue
Block a user