Skip to content

I need to submit the of repositories A to the directory of repositories B #64

Discussion options

You must be logged in to vote

@adaLucky sorry for the delay in this.

It's a little bit awkward to do this right now (and I've created an issue here to hopefully simplify it: #70), but you can do this using something like the following:

Create a file .clear-target-files that has:

census/data/**/*

And add a workflow that looks like:

jobs:
  deploy:
    steps:
    #...
    - name: replicate directory structure
      run: |
        mkdir -p remote/census/data
        cp -rT source/census/data/ remote/census/data/
    - name: Deploy
      uses: s0/git-publish-subdir-action@develop
      env:
        FOLDER: remote
        CLEAR_GLOBS_FILE: ".clear-target-files"
        #...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by s0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #51 on February 08, 2022 16:34.