jonasanker / 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

action "Create file" {
  uses = "finnp/create-file-action@master"
  env = {
    FILE_NAME = "example.md"
    FILE_DATA = "#Example file\nThis is an example"
  }
}

Usage with base64 FILE_BASE64

action "Create file" {
  uses = "finnp/create-file-action@master"
  env = {
    FILE_NAME = "example.md"
    FILE_DATA = "ZWFzdGVyZWdnLWxvbAo="
  }
}

About

Github Action to create a new file from environment config


Languages

Language:Dockerfile 49.7%Language:HCL 28.3%Language:Shell 22.0%