mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-14 20:13:23 +00:00
feat: updated action
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
on: [push]
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
hello_world_job:
|
||||
github-release-to-discord:
|
||||
runs-on: ubuntu-latest
|
||||
name: A job to say hello
|
||||
steps:
|
||||
# To use this repository's private action,
|
||||
# you must check out the repository
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Hello world action step
|
||||
- name: Handle Release
|
||||
uses: ./ # Uses an action in the root directory
|
||||
id: hello
|
||||
id: release
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat'
|
||||
# Use the output from the `hello` step
|
||||
- name: Get the output time
|
||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
Reference in New Issue
Block a user