finnp / create-file-action

Github Action to create a new file from environment config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Github Action to create a new file from environment config


Languages

Language:Dockerfile 62.4%Language:Shell 37.6%