You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Slack File Upload
1.0.0
This action uploads file to slack
Required Slack token
Required Path to file
Slack channel for upload
on: [push]
jobs:
slack_upload_job:
runs-on: ubuntu-latest
name: Upload test file
steps:
- name: Checkout
uses: actions/checkout@v1
- run: echo "Test file " > test.txt
- name: Upload to slack step
uses: adrey/slack-file-upload-action@master
with:
token: ${{ secrets.SLACK_TOKEN }}
path: test.txt
channel: random