revert: remove config manager in favour of container directly usage #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changelog to Discord | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
markdown_file: | |
description: "Path to the markdown file" | |
required: true | |
default: "CHANGELOG.md" | |
jobs: | |
extract_and_send: | |
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && contains(github.event.head_commit.message, 'chore(release)')) }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Send first section to Discord | |
uses: ./.github/actions/extract-and-send | |
with: | |
filepath: CHANGELOG.md | |
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} |