FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

Sync file is created on ftp root level instead of in the specified server-dir folder

Open samuelT2 opened this issue 3 years ago • 2 comments

Bug Description When running an action, the ".ftp-deploy-sync-state.json" file is created/updated on ftp root level instead of in the specified server-dir folder.

My Action Config

name: xx.xx.xx / TEST deployment

on:
  push:
    branches: [ dev_integration ]
  pull_request:
    branches: [ dev_integration ]
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: npm install
        run: |
          npm install

      - name: npm build standalone
        run: |
          npm run build -- --mode staging
          
      - name: FTP Deploy (Staging)
        uses: SamKirkland/[email protected]
        with:
          server: xx.xx
          username: [email protected]
          password: ${{ secrets.FTP_DEPLOYMENT_USER }}
          local-dir: ./dist/
          server-dir: folder_x/

Let me know if the full action log is also needed.

samuelT2 avatar Oct 14 '21 20:10 samuelT2

Just happend again. Action log even says the sync file has been stored under "ftp-root/folder_x" whereas I see the file under "ftp-root".

samuelT2 avatar Oct 15 '21 06:10 samuelT2

Any updates to this issue? The same thing is happening to me

klonspace avatar Dec 14 '23 17:12 klonspace