Skip to content

Did I do this right? Also, is the listed command wrong? #515

@GitHubQueenn

Description

@GitHubQueenn

I am brand new to all of this. On the main Deploy page, when you click "Use latest version," it says to use:

- name: FTP Deploy
  uses: SamKirkland/FTP-Deploy-Action@v4.3.6

However, all of the examples on that page use a form of "Sync files" for the name. Does this matter or which one should I use here?

Also, here is what I have. Did I do the last parts correctly?

on: push
name: Deploy website on push
jobs:
  web-deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - name: Get latest code
      uses: actions/checkout@v4
    
    - name: Sync files
      uses: SamKirkland/FTP-Deploy-Action@v4.3.6
      with:
        server: SERVER_URL_HERE
        username: USER@DOMAIN.com
        password: ${{ secrets.FTP_SECRETPASSWORD }}
        port: 21
        server-dir: /htdocs/

Didn't know if I was supposed to use "ftp_password" like the example shows, or use exactly what I named the Secret. Also not sure if "/htdocs/" is correctly done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions