Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions Succeeds but No Files on FTP Server #278

Open
utkarsh-UK opened this issue Mar 6, 2022 · 3 comments
Open

Actions Succeeds but No Files on FTP Server #278

utkarsh-UK opened this issue Mar 6, 2022 · 3 comments

Comments

@utkarsh-UK
Copy link

Bug Description
Hi, Thanks for this lovely Github action. However I am facing issues with uploading build files to FTP server. My Github action logs show the action as completed but I cannot see any actual files on FTP.

My Action Config

name: Publish portfolio to Hostinger dev channel
on:
  push:
    branches:
      - dev
jobs:
  FTP-Deploy-Action:
    name: FTP-Deploy-Action-Dev
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2.3.2

    - name: Install Node.js
      uses: actions/setup-node@v1
      with:
        node-version: 14.x

    - name: Install NPM packages
      working-directory: ./frontend
      run: npm ci

    - name: Build project
      working-directory: ./frontend
      run: npm run build

    - name: FTP-Deploy-Action-Dev
      uses: SamKirkland/FTP-Deploy-Action@4.0.0
      with:
        server: ${{ secrets.FTP_SERVER }}
        username: ${{ secrets.FTP_USERNAME }}
        password: ${{ secrets.FTP_PASSWORD }}
        local-dir: ./frontend/build/
        server-dir: public_html/dev/

My Action Log

Run SamKirkland/FTP-Deploy-Action@4.0.0
  with:
    server: ***
    username: ***
    password: ***
    local-dir: ./frontend/build/
    server-dir: public_html/dev/
----------------------------------------------------------------
🚀 Thanks for using ftp-deploy. Let's deploy some stuff!   
----------------------------------------------------------------
If you found this project helpful, please support it
by giving it a ⭐ on Github --> https://github.com/SamKirkland/FTP-Deploy-Action
or add a badge 🏷️ to your projects readme --> https://github.com/SamKirkland/FTP-Deploy-Action#badge
----------------------------------------------------------------
Last published on 📅 Saturday, March 5, [2](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:2)022, 2:[3](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:3)2 PM
----------------------------------------------------------------
Local Files:	[4](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:4)4
Server Files:	44
----------------------------------------------------------------
Calculating differences between client & server
----------------------------------------------------------------
➕ Upload: asset-manifest.json
➕ Upload: favicon.ico
📁  Delete: frontend    
📁  Delete: frontend/.firebase    
🗑️  Delete: frontend/.firebase/hosting.YnVpbGQ.cache    
🗑️  Delete: frontend/.firebaserc    
🗑️  Delete: frontend/firebase.json    
🗑️  Delete: frontend/package-lock.json    
🗑️  Delete: frontend/package.json    
📁  Delete: frontend/public    
🗑️  Delete: frontend/public/favicon.ico    
🗑️  Delete: frontend/public/index.html    
🗑️  Delete: frontend/public/logo192.png    
🗑️  Delete: frontend/public/logo[5](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:5)12.png    
🗑️  Delete: frontend/public/manifest.json    
📁  Delete: frontend/public/resources    
🗑️  Delete: frontend/public/resources/resume.pdf    
🗑️  Delete: frontend/public/robots.txt    
🗑️  Delete: frontend/README.md    
📁  Delete: frontend/src    
🗑️  Delete: frontend/src/App.js    
🗑️  Delete: frontend/src/App.module.css    
📁  Delete: frontend/src/components    
📁  Delete: frontend/src/components/app-icon    
🗑️  Delete: frontend/src/components/app-icon/AppIcon.jsx    
📁  Delete: frontend/src/components/arrow-down    
🗑️  Delete: frontend/src/components/arrow-down/ArrowDown.jsx    
📁  Delete: frontend/src/components/arrow-up    
🗑️  Delete: frontend/src/components/arrow-up/ArrowUp.jsx    
📁  Delete: frontend/src/components/experience-tile    
🗑️  Delete: frontend/src/components/experience-tile/ExperienceTile.jsx    
🗑️  Delete: frontend/src/components/experience-tile/ExperienceTile.module.css    
📁  Delete: frontend/src/components/icon-container    
🗑️  Delete: frontend/src/components/icon-container/IconContainer.jsx    
🗑️  Delete: frontend/src/components/icon-container/IconContainer.module.css    
🗑️  Delete: frontend/src/components/index.js    
📁  Delete: frontend/src/components/long-arrow    
🗑️  Delete: frontend/src/components/long-arrow/LongArrow.jsx    
📁  Delete: frontend/src/components/navbar    
🗑️  Delete: frontend/src/components/navbar/NavBar.jsx    
🗑️  Delete: frontend/src/components/navbar/NavBar.module.css    
📁  Delete: frontend/src/components/project-item    
🗑️  Delete: frontend/src/components/project-item/ProjectItem.jsx    
🗑️  Delete: frontend/src/components/project-item/ProjectItem.module.css    
📁  Delete: frontend/src/components/project-tile    
🗑️  Delete: frontend/src/components/project-tile/ProjectTile.jsx    
🗑️  Delete: frontend/src/components/project-tile/ProjectTile.module.css    
📁  Delete: frontend/src/components/skill    
🗑️  Delete: frontend/src/components/skill/Skill.jsx    
🗑️  Delete: frontend/src/components/skill/Skill.module.css    
📁  Delete: frontend/src/components/tech-row    
🗑️  Delete: frontend/src/components/tech-row/TechRow.jsx    
🗑️  Delete: frontend/src/components/tech-row/TechRow.module.css    
📁  Delete: frontend/src/components/title    
🗑️  Delete: frontend/src/components/title/SectionTitle.jsx    
🗑️  Delete: frontend/src/components/title/SectionTitle.module.css    
📁  Delete: frontend/src/containers    
📁  Delete: frontend/src/containers/contact    
🗑️  Delete: frontend/src/containers/contact/Contact.jsx    
🗑️  Delete: frontend/src/containers/contact/Contact.module.css    
📁  Delete: frontend/src/containers/experience    
🗑️  Delete: frontend/src/containers/experience/Experience.jsx    
🗑️  Delete: frontend/src/containers/experience/Experience.module.css    
🗑️  Delete: frontend/src/containers/experience/icons.js    
📁  Delete: frontend/src/containers/footer    
🗑️  Delete: frontend/src/containers/footer/Footer.jsx    
🗑️  Delete: frontend/src/containers/footer/Footer.module.css    
📁  Delete: frontend/src/containers/home    
🗑️  Delete: frontend/src/containers/home/Home.jsx    
🗑️  Delete: frontend/src/containers/home/Home.module.css    
🗑️  Delete: frontend/src/containers/index.js    
📁  Delete: frontend/src/containers/latest-projects    
🗑️  Delete: frontend/src/containers/latest-projects/images.js    
🗑️  Delete: frontend/src/containers/latest-projects/LatestProjects.jsx    
🗑️  Delete: frontend/src/containers/latest-projects/LatestProjects.module.css    
📁  Delete: frontend/src/containers/services    
🗑️  Delete: frontend/src/containers/services/Services.jsx    
🗑️  Delete: frontend/src/containers/services/Services.module.css    
📁  Delete: frontend/src/content    
🗑️  Delete: frontend/src/content/experience.js    
🗑️  Delete: frontend/src/content/index.js    
🗑️  Delete: frontend/src/content/projects.js    
🗑️  Delete: frontend/src/content/skills.js    
🗑️  Delete: frontend/src/content/technologies.js    
📁  Delete: frontend/src/helpers    
🗑️  Delete: frontend/src/helpers/helpers.js    
📁  Delete: frontend/src/icons    
🗑️  Delete: frontend/src/icons/adobe.png    
🗑️  Delete: frontend/src/icons/android.png    
🗑️  Delete: frontend/src/icons/circle.svg    
🗑️  Delete: frontend/src/icons/email-white.png    
🗑️  Delete: frontend/src/icons/firebase.png    
🗑️  Delete: frontend/src/icons/flutter.png    
🗑️  Delete: frontend/src/icons/github-black.png    
🗑️  Delete: frontend/src/icons/github-white.png    
🗑️  Delete: frontend/src/icons/instagram-black.png    
🗑️  Delete: frontend/src/icons/ios.png    
🗑️  Delete: frontend/src/icons/linkedin-black.png    
🗑️  Delete: frontend/src/icons/linkedin-white.png    
🗑️  Delete: frontend/src/icons/logo.svg    
🗑️  Delete: frontend/src/icons/medium-white.png    
🗑️  Delete: frontend/src/icons/mongo.png    
🗑️  Delete: frontend/src/icons/mysql.png    
🗑️  Delete: frontend/src/icons/nodejs.png    
🗑️  Delete: frontend/src/icons/profile-background.svg    
🗑️  Delete: frontend/src/icons/react.png    
🗑️  Delete: frontend/src/icons/semi-circle.svg    
🗑️  Delete: frontend/src/icons/snowman.svg    
📁  Delete: frontend/src/images    
🗑️  Delete: frontend/src/images/annadata-mockup.png    
🗑️  Delete: frontend/src/images/annadata.png    
🗑️  Delete: frontend/src/images/bliss-design.png    
🗑️  Delete: frontend/src/images/cp-workshop.jpg    
🗑️  Delete: frontend/src/images/crypto.png    
🗑️  Delete: frontend/src/images/dojo.png    
🗑️  Delete: frontend/src/images/fiscal.png    
🗑️  Delete: frontend/src/images/flutter-workshop.jpg    
🗑️  Delete: frontend/src/images/frontend-mentor.png    
🗑️  Delete: frontend/src/images/medium.png    
🗑️  Delete: frontend/src/images/news-app.png    
🗑️  Delete: frontend/src/images/news-design.png    
🗑️  Delete: frontend/src/images/note.png    
🗑️  Delete: frontend/src/images/persuit.png    
🗑️  Delete: frontend/src/images/profile-image.jpg    
🗑️  Delete: frontend/src/images/reddoo-design.png    
🗑️  Delete: frontend/src/images/reddoo.png    
🗑️  Delete: frontend/src/images/sacred.jpg    
🗑️  Delete: frontend/src/images/semi-circle.png    
🗑️  Delete: frontend/src/images/student-teacher.jpg    
🗑️  Delete: frontend/src/index.css    
🗑️  Delete: frontend/src/index.js    
📁  Delete: frontend/src/pages    
📁  Delete: frontend/src/pages/projects    
🗑️  Delete: frontend/src/pages/projects/AllProjects.jsx    
🗑️  Delete: frontend/src/pages/projects/AllProjects.module.css    
🗑️  Delete: frontend/src/pages/projects/images.js    
🗑️  Delete: frontend/src/Routes.js    
➕ Upload: index.html
➕ Upload: logo192.png
➕ Upload: logo512.png
➕ Upload: manifest.json
🗑️  Delete: README.md    
📁 Create: resources
➕ Upload: resources/resume.pdf
➕ Upload: robots.txt
📁 Create: static
📁 Create: static/css
➕ Upload: static/css/main.a1849f87.chunk.css
➕ Upload: static/css/main.a1849f87.chunk.css.map
📁 Create: static/js
➕ Upload: static/js/2.e0f[6](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:6)b446.chunk.js
➕ Upload: static/js/2.e0f6b446.chunk.js.LICENSE.txt
➕ Upload: static/js/2.e0f6b446.chunk.js.map
➕ Upload: static/js/main.6e8ef3e6.chunk.js
➕ Upload: static/js/main.6e8ef3e6.chunk.js.map
➕ Upload: static/js/runtime-main.ff5b8ea4.js
➕ Upload: static/js/runtime-main.ff5b8ea4.js.map
📁 Create: static/media
➕ Upload: static/media/annadata-mockup.2fa509a6.png
➕ Upload: static/media/annadata.abbc8d4c.png
➕ Upload: static/media/bliss-design.fcb38492.png
➕ Upload: static/media/circle.31340fa1.svg
➕ Upload: static/media/cp-workshop.08[7](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:7)7d4b4.jpg
➕ Upload: static/media/crypto.a0bad79f.png
➕ Upload: static/media/dojo.df09510b.png
➕ Upload: static/media/fiscal.094e1145.png
➕ Upload: static/media/flask.420a[8](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:8)c32.png
➕ Upload: static/media/flutter-workshop.0b2c5c35.jpg
➕ Upload: static/media/frontend-mentor.41e5a0ea.png
➕ Upload: static/media/logo.62e2c01a.svg
➕ Upload: static/media/news-app.4d8006ed.png
➕ Upload: static/media/news-design.2003a761.png
➕ Upload: static/media/note.6[9](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:9)9046b0.png
➕ Upload: static/media/persuit.3826f419.png
➕ Upload: static/media/profile-image.83ea522c.jpg
➕ Upload: static/media/reddoo-design.181dce7d.png
➕ Upload: static/media/reddoo.eb49925c.png
➕ Upload: static/media/sacred.dbcfc6ed.jpg
➕ Upload: static/media/snowman.b7ab09ff.svg
➕ Upload: static/media/student-teacher.674551a7.jpg
📁  Delete: trailer    
🗑️  Delete: trailer/index.html    
🗑️  Delete: trailer/style.css    
----------------------------------------------------------------
Making changes to 183 files to sync server state
Uploading: 14.8 MB -- Deleting: 14.3 MB -- Replacing: 0 B
----------------------------------------------------------------
creating folder "resources/"
creating folder "static/"
creating folder "static/css/"
creating folder "static/js/"
creating folder "static/media/"
uploading "asset-manifest.json"
uploading "favicon.ico"
uploading "index.html"
uploading "logo192.png"
uploading "logo512.png"
uploading "manifest.json"
uploading "resources/resume.pdf"
uploading "robots.txt"
uploading "static/css/main.a1849f87.chunk.css"
uploading "static/css/main.a1849f87.chunk.css.map"
uploading "static/js/2.e0f6b446.chunk.js"
uploading "static/js/2.e0f6b446.chunk.js.LICENSE.txt"
uploading "static/js/2.e0f6b446.chunk.js.map"
uploading "static/js/main.6e8ef3e6.chunk.js"
uploading "static/js/main.6e8ef3e6.chunk.js.map"
uploading "static/js/runtime-main.ff5b8ea4.js"
uploading "static/js/runtime-main.ff5b8ea4.js.map"
uploading "static/media/annadata-mockup.2fa509a6.png"
uploading "static/media/annadata.abbc8d4c.png"
uploading "static/media/bliss-design.fcb38492.png"
uploading "static/media/circle.31340fa1.svg"
uploading "static/media/cp-workshop.0877d4b4.jpg"
uploading "static/media/crypto.a0bad79f.png"
uploading "static/media/dojo.df095[10](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:10)b.png"
uploading "static/media/fiscal.094e[11](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:11)45.png"
uploading "static/media/flask.420a8c32.png"
uploading "static/media/flutter-workshop.0b2c5c35.jpg"
uploading "static/media/frontend-mentor.41e5a0ea.png"
uploading "static/media/logo.62e2c01a.svg"
uploading "static/media/news-app.4d8006ed.png"
uploading "static/media/news-design.2003a761.png"
uploading "static/media/note.699046b0.png"
uploading "static/media/persuit.3826f419.png"
uploading "static/media/profile-image.83ea522c.jpg"
uploading "static/media/reddoo-design.181dce7d.png"
uploading "static/media/reddoo.eb49925c.png"
uploading "static/media/sacred.dbcfc6ed.jpg"
uploading "static/media/snowman.b7ab09ff.svg"
uploading "static/media/student-teacher.674551a7.jpg"
removing frontend/.firebase/hosting.YnVpbGQ.cache...
removing frontend/.firebaserc...
removing frontend/firebase.json...
removing frontend/package-lock.json...
removing frontend/package.json...
removing frontend/public/favicon.ico...
removing frontend/public/index.html...
removing frontend/public/logo192.png...
removing frontend/public/logo5[12](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:12).png...
removing frontend/public/manifest.json...
removing frontend/public/resources/resume.pdf...
removing frontend/public/robots.txt...
removing frontend/README.md...
removing frontend/src/App.js...
removing frontend/src/App.module.css...
removing frontend/src/components/app-icon/AppIcon.jsx...
removing frontend/src/components/arrow-down/ArrowDown.jsx...
removing frontend/src/components/arrow-up/ArrowUp.jsx...
removing frontend/src/components/experience-tile/ExperienceTile.jsx...
removing frontend/src/components/experience-tile/ExperienceTile.module.css...
removing frontend/src/components/icon-container/IconContainer.jsx...
removing frontend/src/components/icon-container/IconContainer.module.css...
removing frontend/src/components/index.js...
removing frontend/src/components/long-arrow/LongArrow.jsx...
removing frontend/src/components/navbar/NavBar.jsx...
removing frontend/src/components/navbar/NavBar.module.css...
removing frontend/src/components/project-item/ProjectItem.jsx...
removing frontend/src/components/project-item/ProjectItem.module.css...
removing frontend/src/components/project-tile/ProjectTile.jsx...
removing frontend/src/components/project-tile/ProjectTile.module.css...
removing frontend/src/components/skill/Skill.jsx...
removing frontend/src/components/skill/Skill.module.css...
removing frontend/src/components/tech-row/TechRow.jsx...
removing frontend/src/components/tech-row/TechRow.module.css...
removing frontend/src/components/title/SectionTitle.jsx...
removing frontend/src/components/title/SectionTitle.module.css...
removing frontend/src/containers/contact/Contact.jsx...
removing frontend/src/containers/contact/Contact.module.css...
removing frontend/src/containers/experience/Experience.jsx...
removing frontend/src/containers/experience/Experience.module.css...
removing frontend/src/containers/experience/icons.js...
removing frontend/src/containers/footer/Footer.jsx...
removing frontend/src/containers/footer/Footer.module.css...
removing frontend/src/containers/home/Home.jsx...
removing frontend/src/containers/home/Home.module.css...
removing frontend/src/containers/index.js...
removing frontend/src/containers/latest-projects/images.js...
removing frontend/src/containers/latest-projects/LatestProjects.jsx...
removing frontend/src/containers/latest-projects/LatestProjects.module.css...
removing frontend/src/containers/services/Services.jsx...
removing frontend/src/containers/services/Services.module.css...
removing frontend/src/content/experience.js...
removing frontend/src/content/index.js...
removing frontend/src/content/projects.js...
removing frontend/src/content/skills.js...
removing frontend/src/content/technologies.js...
removing frontend/src/helpers/helpers.js...
removing frontend/src/icons/adobe.png...
removing frontend/src/icons/android.png...
removing frontend/src/icons/circle.svg...
removing frontend/src/icons/email-white.png...
removing frontend/src/icons/firebase.png...
removing frontend/src/icons/flutter.png...
removing frontend/src/icons/github-black.png...
removing frontend/src/icons/github-white.png...
removing frontend/src/icons/instagram-black.png...
removing frontend/src/icons/ios.png...
removing frontend/src/icons/linkedin-black.png...
removing frontend/src/icons/linkedin-white.png...
removing frontend/src/icons/logo.svg...
removing frontend/src/icons/medium-white.png...
removing frontend/src/icons/mongo.png...
removing frontend/src/icons/mysql.png...
removing frontend/src/icons/nodejs.png...
removing frontend/src/icons/profile-background.svg...
removing frontend/src/icons/react.png...
removing frontend/src/icons/semi-circle.svg...
removing frontend/src/icons/snowman.svg...
removing frontend/src/images/annadata-mockup.png...
removing frontend/src/images/annadata.png...
removing frontend/src/images/bliss-design.png...
removing frontend/src/images/cp-workshop.jpg...
removing frontend/src/images/crypto.png...
removing frontend/src/images/dojo.png...
removing frontend/src/images/fiscal.png...
removing frontend/src/images/flutter-workshop.jpg...
removing frontend/src/images/frontend-mentor.png...
removing frontend/src/images/medium.png...
removing frontend/src/images/news-app.png...
removing frontend/src/images/news-design.png...
removing frontend/src/images/note.png...
removing frontend/src/images/persuit.png...
removing frontend/src/images/profile-image.jpg...
removing frontend/src/images/reddoo-design.png...
removing frontend/src/images/reddoo.png...
removing frontend/src/images/sacred.jpg...
removing frontend/src/images/semi-circle.png...
removing frontend/src/images/student-teacher.jpg...
removing frontend/src/index.css...
removing frontend/src/index.js...
removing frontend/src/pages/projects/AllProjects.jsx...
removing frontend/src/pages/projects/AllProjects.module.css...
removing frontend/src/pages/projects/images.js...
removing frontend/src/Routes.js...
removing README.md...
removing trailer/index.html...
removing trailer/style.css...
removing folder "frontend/"
removing folder "frontend/.firebase/"
removing folder "frontend/public/"
removing folder "frontend/public/resources/"
removing folder "frontend/src/"
removing folder "frontend/src/components/"
removing folder "frontend/src/components/app-icon/"
removing folder "frontend/src/components/arrow-down/"
removing folder "frontend/src/components/arrow-up/"
removing folder "frontend/src/components/experience-tile/"
removing folder "frontend/src/components/icon-container/"
removing folder "frontend/src/components/long-arrow/"
removing folder "frontend/src/components/navbar/"
removing folder "frontend/src/components/project-item/"
removing folder "frontend/src/components/project-tile/"
removing folder "frontend/src/components/skill/"
removing folder "frontend/src/components/tech-row/"
removing folder "frontend/src/components/title/"
removing folder "frontend/src/containers/"
removing folder "frontend/src/containers/contact/"
removing folder "frontend/src/containers/experience/"
removing folder "frontend/src/containers/footer/"
removing folder "frontend/src/containers/home/"
removing folder "frontend/src/containers/latest-projects/"
removing folder "frontend/src/containers/services/"
removing folder "frontend/src/content/"
removing folder "frontend/src/helpers/"
removing folder "frontend/src/icons/"
removing folder "frontend/src/images/"
removing folder "frontend/src/pages/"
removing folder "frontend/src/pages/projects/"
removing folder "trailer/"
----------------------------------------------------------------
🎉 Sync complete. Saving current server state to "public_html/dev/.ftp-deploy-sync-state.json"
----------------------------------------------------------------
Time spent hashing:               106 milliseconds
Time spent connecting to server:  1.9 seconds
Time spent deploying:             2 minutes [13](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:13).7 seconds (110 kB/second)
  - changing dirs:                4.4 seconds
  - logging:                      5 milliseconds
----------------------------------------------------------------
Total time:                       2 minutes [17](https://github.com/utkarsh-UK/utkarsh-portfolio/runs/5439583050?check_suite_focus=true#step:6:17).8 seconds
----------------------------------------------------------------

ftp ss

@ApplecakeYT
Copy link

I'm also having similar issues

@jun1orDev
Copy link

I have the same problem, testing on 2 different hosts.

@Trouffman
Copy link

Trouffman commented Jan 12, 2023

Try connecting with the login/username you are using for the FTP int he Github Action > confirm that the path is the correct one ( sometimes you can force FTP user to have a different home).

Most likely this is creating the folder / files etc in a different foler (or subfolder).

Also make sure you are not running a dry-run
To be sure, add :

dry-run: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants