/firefox-send-action

Uploads file to Firefox Send.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Firefox Send action

This action uploads file(s) to Firefox Send.

Usage

steps:
  - name: Firefox Send action step
    uses: shooontan/firefox-send-action@v1
    with:
      file: fixtures/hello.txt
      expiry_time: 5m
      password: ${{ secrets.FFSEND_PASSWORD }}

Inputs

  • file (required): The file(s) to upload. If file is directory, it is automatically archived.
  • expiry_time (optional): The file expiry time.
  • password (optional): Protect the file with a password.

Outputs

  • url: Share URL.
steps:
    - name: Firefox Send action step
      uses: shooontan/firefox-send-action@v1
      id: ffsend # output is
      with:
        file: fixtures
        expiry_time: 1m
        password: ${{ secrets.FFSEND_PASSWORD }}
    - name: Get the output url
      run: echo ${{ steps.ffsend.outputs.url }} # show URL