All Projects → sinshutu → upload-to-discord

sinshutu / upload-to-discord

Licence: MIT license
A GitHub Action that uploads a file to Discord channel.

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to upload-to-discord

setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (-43.18%)
Mutual labels:  action, github-actions
action-autotag
Automatically generate a new tag when the manifest file (package.json, Dockerfile, custom file, etc) version changes.
Stars: ✭ 45 (+2.27%)
Mutual labels:  action, github-actions
setup-clang
GitHub action to set up Clang & LLVM
Stars: ✭ 28 (-36.36%)
Mutual labels:  action, github-actions
colab-badge-action
GitHub Action that generates "Open In Colab" Badges for you
Stars: ✭ 15 (-65.91%)
Mutual labels:  action, github-actions
upx-action
Strips and runs upx on binaries
Stars: ✭ 17 (-61.36%)
Mutual labels:  action, github-actions
vs-shell
GitHub action to set up the Visual Studio shell environment
Stars: ✭ 36 (-18.18%)
Mutual labels:  action, github-actions
git-actions
A GitHub Action to run arbitrary git commands
Stars: ✭ 72 (+63.64%)
Mutual labels:  action, github-actions
jest-github-action
Jest action adding checks with annotations to your pull requests and coverage table as comments
Stars: ✭ 134 (+204.55%)
Mutual labels:  action, github-actions
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-11.36%)
Mutual labels:  action, github-actions
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-43.18%)
Mutual labels:  action, github-actions
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+40.91%)
Mutual labels:  action, github-actions
GitHub-Pages-deploy
A GitHub Action to deploy a static site on GitHub Pages.
Stars: ✭ 42 (-4.55%)
Mutual labels:  action, github-actions
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+218.18%)
Mutual labels:  action, github-actions
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+52.27%)
Mutual labels:  action, github-actions
hugo-action
Commands to help with building Hugo based static sites
Stars: ✭ 65 (+47.73%)
Mutual labels:  action, github-actions
lychee-action
Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
Stars: ✭ 89 (+102.27%)
Mutual labels:  action, github-actions
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+95.45%)
Mutual labels:  action, github-actions
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-72.73%)
Mutual labels:  action, github-actions
cuda-toolkit
GitHub Action to install CUDA
Stars: ✭ 34 (-22.73%)
Mutual labels:  action, github-actions
action-homebrew-bump-formula
⚙️ A GitHub Action to easily bump Homebrew formula on new release
Stars: ✭ 68 (+54.55%)
Mutual labels:  action, github-actions

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].