mirror of
https://github.com/KoalaSat/nostros.git
synced 2024-09-29 06:30:47 +00:00
21 lines
630 B
YAML
21 lines
630 B
YAML
name: Post changelog
|
|
on:
|
|
release:
|
|
types: released
|
|
|
|
jobs:
|
|
post-changelog:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send changelog to telegram channel
|
|
uses: tyagdit/release-telegram-action@master
|
|
with:
|
|
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
channel: ${{ secrets.CHANGELOG_CHANNEL_ID }}
|
|
changelog: ${{ github.event.release.body }}
|
|
- name: 'Post to Nostr'
|
|
run: |
|
|
go install github.com/fiatjaf/noscl@latest
|
|
~/go/bin/noscl setprivate ${{ secrets.NOSTROS_PRIVATE_KEY }}
|
|
~/go/bin/noscl publish ${{ github.event.release.body }}
|