copy_file_to_another_repo_action icon indicating copy to clipboard operation
copy_file_to_another_repo_action copied to clipboard

Doesn't post to root folder.

Open N6REJ opened this issue 3 years ago • 1 comments

Trying to post files from my common settings repo so another repo which should have the same files and structure and its not posting to root. instead its putting it in the 'site' folder.

name: File sync

on: push

jobs:
  copy-file:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Pushes test file
        uses: dmnemec/copy_file_to_another_repo_action@main
        env:
          API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
        with:
          source_file: '.git-sync/site/*.*'
          user_name: 'Bearsampp'
          user_email: '[email protected]'
          destination_repo: 'Bearsampp/website'
          #destination_folder: '/'
          destination_branch: 'main'

image

I've tried source_file: '.git-sync/site/*.*' in many configurations

N6REJ avatar Dec 11 '21 23:12 N6REJ

facing same bug

m-aljammali-inkerz avatar Nov 29 '22 03:11 m-aljammali-inkerz