Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 491 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 491 Bytes

create-file-action

Github Action to create a new file from environment config

Usage with String FILE_DATA

- uses: "finnp/create-file-action@master"
      env:
        FILE_NAME: "dir/fileName.txt"
        FILE_DATA: "file content"

Usage with base64 FILE_BASE64

- uses: "finnp/create-file-action@master"
      env:
        FILE_NAME: "dir/fileName.txt"
        FILE_BASE64: "ZWFzdGVyZWdnLWxvbAo="

Create your file with cat filename | base64