GithubHelp home page GithubHelp logo

simple-ftp-deploy-action's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simple-ftp-deploy-action's Issues

Action fails but deletes/uploads all files

Hello, I have a strange behaviour with the action, it successfully does delete old files and uploads the new one to my ftp, but it ends with wrong status code for some reason and without any explanation or error message. Any idea what might cause this?
Here is my setup and Github action's log:

    - name: FTP Deploy
      uses: kevinpainchaud/[email protected]
      with:
        ftp_host: ${{ secrets.FTP_HOST }}
        ftp_username: ${{ secrets.FTP_USER }}
        ftp_password: ${{ secrets.FTP_PASSWORD }}
        local_source_dir: "."
        dist_target_dir: ${{ secrets.FTP_REMOTE_ROOT }}
        delete: "true"
        exclude: "'^log/' '^www/img/upload/'"

and this is the log

.. transferring files
2020-10-03T14:30:31.8344531Z Making symbolic link `vendor/bin/tester' to `../nette/tester/src/tester'
2020-10-03T14:30:31.9321196Z ln: Operation not supported: SITE SYMLINK is not supported by the server
... transferring files
2020-10-03T14:37:06.0831542Z Transferring file `www/static-nonused/typography.html'

Screen Shot 2020-10-03 at 16 47 15

connection error: unable to get local issuer certificate

cd: Fatal error: Certificate verification: unable to get local issuer certificate (9E:BD:78:A5:1B:96:30:A1:FF:D4:AE:C2:42:E5:FC:DD:A0:B8:72:9D)
mirror: Fatal error: Certificate verification: unable to get local issuer certificate (9E:BD:78:A5:1B:96:30:A1:FF:D4:AE:C2:42:E5:FC:DD:A0:B8:72:9D)

settings:

- name: Simple FTP deploy
      uses: kevinpainchaud/simple-ftp-deploy-action@v1
      with:
      # FTP host
        ftp_host: ftp://****:21/****.***.pl/****/
        ftp-username: ***
        ftp-password: ${{ secrets.FTP_PASSWORD }}          
        local_source_dir: dist
        dist_target_dir: "my"
#           delete: "true"

`only_newer` ignore `local_source_dir` & `dist_target_dir` when set

My config looks like this:

uses: kevinpainchaud/[email protected]
with:
  ftp_host: ***
  ftp_username: ***
  ftp_password: ***
  local_source_dir: "wp-content/themes/val"
  dist_target_dir: "autodeploytest"
  only_newer: true
  exclude: "'^logs/' '^README.md' '^.git' '^.github' '^node_modules/"

As you can see i have a WordPress structure and want to deploy only the theme.
When i set only_newer, the action starts to deploy the whole repo instead:

Making directory `wp-admin'
Transferring file `wp-admin/about.php'
...

and at root level, not in the specified dist_target_dir

What i wanted is to deploy only newer files from my local source dir but maybe i'm missing something?

Thanks in advance

Error on local dir

I don't know why is returning this error...


Run kevinpainchaud/[email protected]
  with:
    ftp_host: ***
    ftp_username: ***
    ftp_password: ***
    local_source_dir: /public/
    dist_target_dir: /test/
    delete: false
    only_newer: false
    ignore_time: false
    disable_ssl_certificate_verification: true

.....
mirror: Access failed: /public: No such file or directory

'chmod' Error

Hi,
First, thanks for this great action.

I try to use it but i have received an error. My ftp site is over a Windows Server, i can read that these maybe there are the problem.
This is the error, over a basic configuration.

image

image

Am I missing something?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.