Skip to content

toe4626/create-file-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 49.7%
  • HCL 28.3%
  • Shell 22.0%