Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Update discord action (#481)

Robbie Davis8f81b5172605
diff --git a/.github/workflows/nightly-docker.yml b/.github/workflows/nightly-docker.yml
index 9ee007941..d509dd5fc 100644
--- a/.github/workflows/nightly-docker.yml
+++ b/.github/workflows/nightly-docker.yml
@@ -91,4 +91,4 @@ jobs:
with:
webhook: ${{ secrets.DISCORD_DOCKER_UPDATE_URL }}
message: "A new nightly build v${{steps.get-version.outputs.assembly-version}} has been released for docker.\nhttps://hub.docker.com/r/kizaing/kavita/tags?page=1&ordering=last_updated"
- embed: '{ "title": "${{ github.event.inputs.title }}", "description": "${{ github.event.inputs.body }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://avatars.io/gravatar/{{ commit.author.email }}"} }'
+ embed: '{ "title": "${{ github.event.inputs.title }}", "description": "${{ github.event.inputs.body }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://avatars.io/gravatar/{{ commit.author.email }}"} }'
\ No newline at end of file
diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml
index 29726048d..483d8f58c 100644
--- a/.github/workflows/sonar-scan.yml
+++ b/.github/workflows/sonar-scan.yml
@@ -137,9 +137,9 @@ jobs:
run: |
body='${{ steps.findPr.outputs.body }}'
newBody="${body//$'\n'/}"
- newBody="${newBody//$'#'/}"
- echo $newBody
- echo "::set-output name=BODY::$newBody"
+ newB="${newBody//$'#'/}"
+ echo $newB
+ echo "::set-output name=BODY::$newB"
id: parse-body
- name: If Push to Develop, Trigger Docker Stable