I need to submit the of repositories A to the directory of repositories B #64
Answered
by
s0
adaLucky
asked this question in
Q&A / Help & Support
-
I need to submit the source/census/data of repositories A to the census/data directory of repositories B. how should I configure it. I hope to get your help
|
Beta Was this translation helpful? Give feedback.
Answered by
s0
Feb 8, 2022
Replies: 1 comment
-
@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
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"
#... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
s0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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:And add a workflow that looks like: