This commit is contained in:
parent
3ee3879db7
commit
f9072c3cfc
30
.github/workflows/default.yaml
vendored
30
.github/workflows/default.yaml
vendored
@ -69,20 +69,16 @@ 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:
|
- name: 🚀 Deploy files via SFTP
|
||||||
needs: build
|
uses: pressidium/lftp-mirror-action@v1
|
||||||
runs-on: ubuntu-latest
|
with:
|
||||||
steps:
|
host: ${{ secrets.FTP_HOST }}
|
||||||
- name: 🚀 Deploy files via SFTP
|
port: ${{ secrets.FTP_PORT || 21 }}
|
||||||
uses: https://github.com/pressidium/lftp-mirror-action@v1
|
user: ${{ secrets.FTP_USERNAME }}
|
||||||
with:
|
pass: ${{ secrets.FTP_PASSWORD }}
|
||||||
host: ${{ secrets.FTP_HOST }}
|
onlyNewer: true
|
||||||
port: ${{ secrets.FTP_PORT || 21 }}
|
parallel: '4'
|
||||||
user: ${{ secrets.FTP_USERNAME }}
|
settings: 'sftp:auto-confirm=yes'
|
||||||
pass: ${{ secrets.FTP_PASSWORD }}
|
localDir: 'dist'
|
||||||
onlyNewer: true
|
remoteDir: '/share/new-website'
|
||||||
parallel: '4'
|
options: '--verbose'
|
||||||
settings: 'sftp:auto-confirm=yes'
|
|
||||||
localDir: 'public'
|
|
||||||
remoteDir: '/share/new-website'
|
|
||||||
options: '--verbose'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user