Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 488 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 488 Bytes

base64Secret-toFile-action

This Github action helps reading a base64 encoded file, decode it and puts it on the defined path. If the directory doesn't exists, it creates it.

Simple example

steps:
  - name: Action 1
    uses: ...

  - name: Action 2
    run: ...

  - name: Decode secret
    uses: davidSchuppa/base64Secret-toFile-action@v1
    with:
        secret: ${{ secrets.MY_AWESOME_SECRET_KEY }}
        filename: myFile.txt
        destination-path: ~/dirForMyFile