Skip to content

A Github action for copying folders into a gh-pages folder

License

Notifications You must be signed in to change notification settings

H0rn0chse/gh-pages-copy-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GithubPages Copy Action

This action copies folders into a target folder.

Usage

    - uses: H0rn0chse/gh-pages-copy-action@main
        with:
          source-json: "./gh-pages-dependencies.json" # default
          target-folder: "./gh-pages" # default
          root: ${{ github.workspace }}

source-json parameter

Path to the json containing the folder mappings.

[[
    "/from", "/to"
], [
    "/demo", "/"
], [
    "/dist", "/libs/my-module"
], [
    "/node_modules/some-dependency/dist", "/libs/some-dependency"
]]

target-folder parameter

Path to gh-pages folder.

root parameter

Root of the project within the github action used during copy.

About

A Github action for copying folders into a gh-pages folder

Topics

Resources

License

Stars

Watchers

Forks