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

Because deploy generally synchronizes all files again and not just the file I'm sending #441

Open
pedro0506 opened this issue Feb 15, 2024 · 3 comments

Comments

@pedro0506
Copy link

Bug Description
Because deploy generally synchronizes all files again and not just the file I'm sending?.

I understand that this synchronization should only occur on the first push, or am I wrong?

My Action Config

on:
  push:
    branches:
      - main
      name: 🚀 Deploy website on push
      jobs:
        web-deploy:
          name: 🎉 Deploy
          runs-on: ubuntu-22.04
          steps:
            - name: 🚚 Get latest code
              uses: actions/checkout@v2
      
            - name: 📂 Sync files
              uses: SamKirkland/[email protected]
              with:
                server: ${{ secrets.ftp_host }}
                username: ${{ secrets.ftp_user }}
                password: ${{ secrets.ftp_password }}
                server-dir: public_html/
          

My Action Log

image

@maverage
Copy link

Did it run through completely? It should write a file with the current state of all uploaded files on the server. Does this file exist? Has it been deleted / changed before the action was started again?

@pedro0506
Copy link
Author

At the time, I was uploading a new file and had edited the .yml

@maverage
Copy link

Maybe there was a Syntax error or something in the yml, hard to tell without more info on log, server state, end of action, etc.
It should not be necessary to edit the yml manually.

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

2 participants