Skip to content
download

GitHub Action

Secret into file action

v1.0.0 Latest version
Use latest version
download

Secret into file action

Action that decrypts github secret into file

Installation

Copy and paste the following snippet into your .yml file.

- name: Secret into file action
  uses: JakubMosakowski/secret-into-file-action@v1.0.0
Learn more about this action in JakubMosakowski/secret-into-file-action
Choose a version

Secret into file action

Action that decodes secret using gpg

Inputs

secret

Required Secret to be decrypted.

passphrase

Required Passphrase needed for file decryption.

filename

Required Name of output file.

Example usage

uses: JakubMosakowski/secret-into-file-action@v1.0.0
with:
  secret: ${{ secrets.SECRET_VALUE }}
  passphrase: ${{ secrets.PASSPHRASE }}
  filename: "path/to/file/file.txt"