Initial commit
This commit is contained in:
commit
bf78abf2b6
2 changed files with 27 additions and 0 deletions
22
.forgejo/woirkflows/send.yml
Normal file
22
.forgejo/woirkflows/send.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Send markdown
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
send:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
# Setup
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Send
|
||||||
|
- uses: ./action
|
||||||
|
with:
|
||||||
|
file: example.md
|
||||||
|
webhook: ${{ secrets.WEBHOOK_URL }}
|
||||||
|
storageMethod: webhook
|
||||||
|
storageWebhookUrl: ${{ secrets.STORAGE_WEBHOOK_URL }}
|
||||||
|
storageWebhookMessageID: "1209906215602356235"
|
5
example.md
Normal file
5
example.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
hi mom!
|
||||||
|
|
||||||
|
# this is a heading
|
||||||
|
|
||||||
|
owo
|
Loading…
Add table
Reference in a new issue