Skip to content

not copying some files #518

@AmirMehr

Description

@AmirMehr

Bug Description
I have a laravel app an cpanel which the public folder of the laravel should be copied to the public_html and the all files (rest of the files and the public folder too) should be copied to the laravel_app folder. It says app-D8QiuZ--.js has no change but there is no file in the cpanel with that name. while it copies the public folder to the laravel_app and it would be written perfectly.

My Action Config

      # --- 📂 Deploy Laravel public folder (/public_html) ---
      - name: 📂 Deploy Laravel public folder
        id: ftp_public
        continue-on-error: true
        uses: SamKirkland/[email protected]
        with:
          server: ${{ secrets.CPANEL_URL }}
          username: ${{ secrets.CPANEL_USERNAME }}
          password: ${{ secrets.CPANEL_PASS }}
          local-dir: server/public/
          server-dir: /public_html/
          timeout: 666000

      # --- 📂 Deploy Laravel backend (/laravel_app) ---
      - name: 📂 Deploy Laravel backend
        id: ftp_backend
        continue-on-error: true
        uses: SamKirkland/[email protected]
        with:
          server: ${{ secrets.CPANEL_URL }}
          username: ${{ secrets.CPANEL_USERNAME }}
          password: ${{ secrets.CPANEL_PASS }}
          local-dir: server/
          server-dir: /laravel_app/
          exclude: |
            server/public/**
            server/node_modules/**
            server/vendor/**
            server/storage/framework/views/**
            server/storage/framework/cache/**
            server/.env
          timeout: 666000

My Action Log

Run SamKirkland/[email protected]
  with:
    server: ***
    username: ***
    password: ***
    local-dir: server/public/
    server-dir: /public_html/
    timeout: 666000
.
.
.

⚖️  File content is the same, doing nothing: build/assets/app-D8QiuZ--.js

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