copy_file_to_another_repo_action
copy_file_to_another_repo_action copied to clipboard
Doesn't post to root folder.
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'
I've tried source_file: '.git-sync/site/*.*'
in many configurations
facing same bug