From 83335b4adb876f80d71d82462298945fc265e845 Mon Sep 17 00:00:00 2001 From: Douglas Nascimento <115051705+douglasfnascimento@users.noreply.github.com> Date: Sat, 4 Oct 2025 12:31:09 -0300 Subject: [PATCH 1/3] Add FTP login test workflow --- .github/workflows/ftp-login-test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/ftp-login-test.yml diff --git a/.github/workflows/ftp-login-test.yml b/.github/workflows/ftp-login-test.yml new file mode 100644 index 0000000..df48fbf --- /dev/null +++ b/.github/workflows/ftp-login-test.yml @@ -0,0 +1,13 @@ +name: Teste de Login FTP + +on: + workflow_dispatch: # Permite rodar manualmente no GitHub + +jobs: + ftp-login: + runs-on: ubuntu-latest + steps: + - name: Testando conexão FTP + run: | + echo "Conectando ao FTP..." + curl -v --ftp-ssl -u ${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }} ftp://${{ secrets.FTP_SERVER }}:${{ secrets.FTP_PORT }}/ || echo "Erro de login" From e4d282b450288aaf3b73e9d46f5b5a65bb6aae58 Mon Sep 17 00:00:00 2001 From: Douglas Nascimento <115051705+douglasfnascimento@users.noreply.github.com> Date: Sat, 4 Oct 2025 12:44:30 -0300 Subject: [PATCH 2/3] Rename remote-dir to server-dir in deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3fa086a..cc7ba81 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: port: ${{ secrets.FTP_PORT }} protocol: ftp local-dir: ./ - remote-dir: /public_html/wp-content/themes/site-learninglab/ + server-dir: /public_html/wp-content/themes/site-learninglab/ exclude: | **/.git* **/.git*/** From 1e3e7179cc01701a5d68b93e4abe7b205341db74 Mon Sep 17 00:00:00 2001 From: Douglas Nascimento <115051705+douglasfnascimento@users.noreply.github.com> Date: Sat, 4 Oct 2025 12:48:18 -0300 Subject: [PATCH 3/3] Delete .github/workflows/ftp-login-test.yml --- .github/workflows/ftp-login-test.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/ftp-login-test.yml diff --git a/.github/workflows/ftp-login-test.yml b/.github/workflows/ftp-login-test.yml deleted file mode 100644 index df48fbf..0000000 --- a/.github/workflows/ftp-login-test.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Teste de Login FTP - -on: - workflow_dispatch: # Permite rodar manualmente no GitHub - -jobs: - ftp-login: - runs-on: ubuntu-latest - steps: - - name: Testando conexão FTP - run: | - echo "Conectando ao FTP..." - curl -v --ftp-ssl -u ${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }} ftp://${{ secrets.FTP_SERVER }}:${{ secrets.FTP_PORT }}/ || echo "Erro de login"