Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Radioh/action-content-overwrite

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Content Overwrite Actions Status

Content overwrite

This Github action will overwrite a file with defined content. It is useful during CI process when you need to replace all content in a config file or all content in other files. Content could be stored as a Github Secret.

Usage

Example using content from a Github secret to overwrite content in test.txt

uses: Radioh/action-content-overwrite@v1
with:
  filePath: "./src/test.txt"
  content: ${{ secrets.TEST }}

License

The scripts and documentation in this project are released under the MIT License