diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4d8d475..b3aa8fe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,7 +35,7 @@ jobs: echo "Build output files:" find out/ -type f | head -10 - - name: Recreate and deploy Next.js assets + - name: Deploy Next.js assets if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') uses: SamKirkland/FTP-Deploy-Action@4.3.0 with: @@ -44,7 +44,6 @@ jobs: password: ${{ secrets.FTP_PASSWORD }} local-dir: ./out/_next/ server-dir: ./_next/ - dangerous-clean-slate: true - name: Deploy site files to FTP if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')