Skip to content

FileStack Share Artifact

Actions
Share artifacts via Filestack sharing api
v1.0.0
Latest
Star (2)

Filestack Share Artifact

Total alerts Language grade: JavaScript

This uploads a file to Filestack and outputs the download link.

Setup

  1. Get your API Key from here https://www.filestack.com/ [It's Free!]
  2. Save the File Stack API KEY as FILESTACK_API on your repository Secrets.
  3. Configure your .yml file with the example bellow

Inputs

API_KEY

Required API Key for FileStack API.

FILE_PATH

Required Path of the file to be uploaded.

Outputs

File_LINK

Download link will be saved here

Upload a file

  - name: Share File Via FileStack
        uses: Warhammer4000/FileStack-Share-Artifact@main # This is the action
        id: filestack # This is needed to get the output in a different action.
        with:
              API_KEY: ${{secrets.FILESTACK_API}}
              FILE_PATH: Checkout.text
      - name: Get the output url
        run: echo "Download Link is:${{ steps.filestack.outputs.File_LINK}}"    

Sample Use

FileStack Share Artifact is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Share artifacts via Filestack sharing api
v1.0.0
Latest

FileStack Share Artifact is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.