appleboy/scp-action

Allow to transfer hidden folder

WeiTanZzz opened this issue · 0 comments

I try to transfer a hidden folder like ".github/folder/", after the transfer gets finished every is fine just the aim host doesn't contain the file.

FYI, the example pipeline is below. Thanks :)

steps:
  - name: Checkout repository
    uses: actions/checkout@v4
  - name: Copy file
    uses: appleboy/scp-action@v0.1.7
    env:
      PUBLIC_IP: input your host
    with:
      host: ${{ env.PUBLIC_IP }}
      username: username
      password: ${{ secrets.PIPELINE_VM_PASSWORD }}
      port: 22
      source: ".github/folder"
      target: "~/aim_folder"