This uploads a file to Filestack and outputs the download link.
- Get your API Key from here https://www.filestack.com/ [It's Free!]
- Save the File Stack API KEY as
FILESTACK_API
on your repository Secrets. - Configure your .yml file with the example bellow
Required API Key for FileStack API.
Required Path of the file to be uploaded.
Download link will be saved here
- 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}}"