Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

try inserting directly

+2 -9
+2 -9
.github/workflows/deployment.yaml
··· 168 168 file: docs/CHANGELOG.md 169 169 pattern: ${{ needs.image-tag.outputs.IMAGE_TAG }} 170 170 171 - - name: Remove first line of multiline string 172 - id: remove-first-line 173 - run: | 174 - # Remove the first line 175 - LATEST_CHANGELOG=$(echo "${{ steps.extract-changelog.outputs.markdown }}" | sed '1d') 176 - echo "changelog=$LATEST_CHANGELOG" >> $GITHUB_OUTPUT 177 - 178 171 - uses: ncipollo/release-action@v1 179 172 id: create_release 180 173 with: 181 174 tag: ${{ env.IMAGE_NAME }}-docs@${{ needs.image-tag.outputs.IMAGE_TAG }} 182 175 makeLatest: true 183 - body: ${{ steps.remove-first-line.outputs.changelog }} 176 + body: $(echo "${{ steps.extract-changelog.outputs.markdown }}" | sed '1d') 184 177 185 178 - name: Discord notification 186 179 env: 187 180 DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }} 188 181 uses: Ilshidur/action-discord@0.3.2 189 182 with: 190 - args: "# ${{ env.IMAGE_NAME }}-docs@${{ needs.image-tag.outputs.IMAGE_TAG }}\n\n${{ steps.remove-first-line.outputs.changelog }}" 183 + args: "# ${{ env.IMAGE_NAME }}-docs@${{ needs.image-tag.outputs.IMAGE_TAG }}\n\n$(echo '${{ steps.extract-changelog.outputs.markdown }}' | sed '1d')"