diff --git a/.github/workflows/dreamhost.yml b/.github/workflows/dreamhost.yml index ae3c380..aeae600 100644 --- a/.github/workflows/dreamhost.yml +++ b/.github/workflows/dreamhost.yml @@ -39,10 +39,11 @@ jobs: run: rm -rf node_modules - name: Deploy to Dreamhost - uses: milanmk/actions-file-deployer@master + uses: swillner/sftp-sync-action@v1.0 with: - remote-protocol: "sftp" - remote-host: "iad1-shared-e1-31.dreamhost.com" - remote-user: "soloweb" - ssh-private-key: ${{ secrets.REMOTE_PRIVATE_KEY }} - remote-path: "solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative" + server: iad1-shared-e1-31.dreamhost.com + user: soloweb + user_private_key: "${{ secrets.REMOTE_PRIVATE_KEY }}" + host_public_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILsHeIczTUFsEZAPoCmrwbQMVL2EXW6zHPAshLGuYAZh ksolo@anduril" + remote: solowebdesigns.net/cwc/wp-content/themes/community-works-collaborative + mirror_options: "--exclude-glob=.git*/ --verbose"