This action copies folders into a target folder.
- uses: H0rn0chse/gh-pages-copy-action@main
with:
source-json: "./gh-pages-dependencies.json" # default
target-folder: "./gh-pages" # default
root: ${{ github.workspace }}
Path to the json containing the folder mappings.
[[
"/from", "/to"
], [
"/demo", "/"
], [
"/dist", "/libs/my-module"
], [
"/node_modules/some-dependency/dist", "/libs/some-dependency"
]]
Path to gh-pages folder.
Root of the project within the github action used during copy.