GithubHelp home page GithubHelp logo

copy-action's Introduction

๐Ÿ‘‹

copy-action's People

Contributors

canastro avatar carlosjgp avatar mroswell avatar piersb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

copy-action's Issues

Q) Paste in a specific location of another file

Hi ,
I have a repo where I've database.md where i have a large table of database and i also want to show to same database rendered in README.md of my repo. But README file has other institutions as well . So i want to paste the whole table in a specific location of that README file.

I want something like , if i push new data in the table inside database.md then the whole table will get updated to README.md as well via copy paste action

Is it possible?

I'm a complete new in CI/CD so I don't have any idea.

Q: Copy multiple files?

Hi Ricardo,
Could you please add an example of how one would copy multiple files using this action?
Cheers!

Copy does not work on files with spaces in their path

Steps to reproduce

  • Save a file called "This has spaces"
  • Run copy-action to copy it to "This-has-no-spaces"

Expected behaviour: Copy works
Actual behaviour: Copy fails because the shell can't parse the spaces in the filename.

Error: Container action is only supported on Linux

I'm trying to run this action on macOS, but it seems not to be supported...

From what I've searched, it's because this actions is Dockerfile based and not javascript.
Can someone give a hint?

Thanks in advance.

using copy-action, but not moving the files.

using

  • name: Copy m3u8
    uses: canastro/copy-file-action@master
    with:
    source: "./tests"
    target: "./data"
    flags: '-r'

however its not copying anything from ./data
should be copying folders and contents?

Seeking guidance to make the copy-action work

I'd like to use this action, but so far not having success.

One source of confusion:
https://github.com/marketplace/actions/copy-file
suggests:
uses: canastro/copy-file-action@master
while the use "Latest button says:
uses: canastro/[email protected]

Neither worked for me on my effort at https://github.com/mroswell/list-N/blob/main/.github/workflows/copy_json_file.yml
I also tried with:
uses: canastro/copy-action@master

I'll be transforming a file, and I'd like to make a copy of the source before I do so. So I think it's the perfect use case for this action if I can figure out how to get it to work.

Dynamic file detection

Is there a way to only copy the file that was pushed to the repo? In other words, dynamically detect the file that was pushed (to specify in the copy action) rather than hardcode a file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.