Open
Description
Hey 👋🏻, I'm trying for a quite some time now to send a file using this Slack Action.
Here's the code.
name: 'Slack Notification Test'
on:
push:
branches:
- main
jobs:
slack_notification:
runs-on: ubuntu-latest
steps:
- name: Checkout ⚙️
uses: actions/checkout@v3
- name: Slack Notification
uses: rtCamp/[email protected]
env:
SLACK_CHANNEL: testes-de-automations
SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
SLACK_ICON: https://github.com/rtCamp.png?size=48
SLACK_MESSAGE: ${{ GITHUB.event.commits.message }}
SLACK_TITLE: 'Commit from: ${{ github.repository }}'
SLACK_USERNAME: ${{ github.actor}}
SLACK_FILE_UPLOAD: .github/workflows/test.txt
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
# SLACK_WEBHOOK: ${{ secrets.SLACK_KEY_URL }}
And it gives me the following answer
But it doesn't send the file neither the message.
Can someone help?
Originally posted by @Pedro-Ivo-Neves in #177
Metadata
Metadata
Assignees
Labels
No labels