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

Doesn't post to root folder. #53

Open
N6REJ opened this issue Dec 11, 2021 · 1 comment
Open

Doesn't post to root folder. #53

N6REJ opened this issue Dec 11, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@N6REJ
Copy link

N6REJ commented Dec 11, 2021

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

@dmnemec dmnemec added the bug Something isn't working label Feb 5, 2022
@m-aljammali-inkerz
Copy link

facing same bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants