/secret-content-file

Create file from content of repository content

Primary LanguageJavaScriptMIT LicenseMIT

Create File Action

GitHub Actions Test Status

This action takes 3 keys CONTENT, FILE_NAME and DIRECTORY and create file with them. File can take content in form of plain string or by providing secret. If Secret is multiline then content of the file will be also multiline.

Example

uses: dusanmarsa/secret-content-file@master
with:
    CONTENT: 'some text as content'
    FILE_NAME: 'file.txt'
    DIRECTORY: 'a/b/c/d