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

Dotfiles being copied all the time #28

Open
tiliv opened this issue Apr 21, 2021 · 1 comment · May be fixed by #31
Open

Dotfiles being copied all the time #28

tiliv opened this issue Apr 21, 2021 · 1 comment · May be fixed by #31

Comments

@tiliv
Copy link

tiliv commented Apr 21, 2021

Hi!

I've been using this action to copy repository code to a remote server, and I noticed that whether I set dotfiles: false or leave it out (because default is false), the scp is copying folders and files that start with .. My workaround is to remove the files in question before using the scp action.

Here is the step I'm using to perform the transfer:

      - name: Copy sources to Instance
        uses: garygrossgarten/[email protected]
        with:
          host: ${{ steps.set-ssh-info.outputs.host }}
          port: ${{ steps.set-ssh-info.outputs.port }}
          username: ${{ secrets.SSH_USERNAME }}
          privateKey: ${{ secrets.SSH_PRIVATE_KEY }}
          local: my-dir
          remote: my-dir

Without putting the whole execution log, the very first thing it does is transfer a dotfile:

Starting scp Action: my-dir to my-dir
✔ successfully copied my-dir/.gitignore.
[ ... ]
@garygrossgarten
Copy link
Owner

Thanks for opening the issue. I'll take a look at it as soon as I can.

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

Successfully merging a pull request may close this issue.

2 participants