FTP-Deploy-Action
FTP-Deploy-Action copied to clipboard
Sync file is created on ftp root level instead of in the specified server-dir folder
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.
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".
Any updates to this issue? The same thing is happening to me