Skip to content

Upload to Discord

Actions
Uploads a file to Discord channel
v2.0.0
Latest
Star (54)

Upload to Discord

Usage

on: push
name: Main workflow
jobs:
  github-action:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Send file README.md to discord channel
      uses: sinshutu/upload-to-discord@master
      env:
        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
      with:
        args: README.md

Requirements

You must pass at least one argument, the path to the file you want to attach. You must also include the DISCORD_WEBHOOK secret, otherwise uploading the file will not work.

    - name: Send file README.md to discord channel
      uses: sinshutu/upload-to-discord@master
      env:
        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
      with:
        args: README.md

Upload to Discord 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

Uploads a file to Discord channel
v2.0.0
Latest

Upload to Discord 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.