diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index 3991fd3..0d42828 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -69,20 +69,16 @@ jobs: - name: Install, build, and upload your site output run: pnpm i && pnpm build - deploy: - needs: build - runs-on: ubuntu-latest - steps: - - name: 🚀 Deploy files via SFTP - uses: https://github.com/pressidium/lftp-mirror-action@v1 - with: - host: ${{ secrets.FTP_HOST }} - port: ${{ secrets.FTP_PORT || 21 }} - user: ${{ secrets.FTP_USERNAME }} - pass: ${{ secrets.FTP_PASSWORD }} - onlyNewer: true - parallel: '4' - settings: 'sftp:auto-confirm=yes' - localDir: 'public' - remoteDir: '/share/new-website' - options: '--verbose' + - name: 🚀 Deploy files via SFTP + uses: pressidium/lftp-mirror-action@v1 + with: + host: ${{ secrets.FTP_HOST }} + port: ${{ secrets.FTP_PORT || 21 }} + user: ${{ secrets.FTP_USERNAME }} + pass: ${{ secrets.FTP_PASSWORD }} + onlyNewer: true + parallel: '4' + settings: 'sftp:auto-confirm=yes' + localDir: 'dist' + remoteDir: '/share/new-website' + options: '--verbose'