Mirror of
0
fork

Configure Feed

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

reset

+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: Extract and modify changelog 172 - id: modify_changelog 173 - run: echo "${{ steps.extract-changelog.outputs.markdown }}" | sed '1d' > modified_changelog.txt 174 - - name: Read modified changelog 175 - id: read_modified_changelog 176 - run: echo "changelog=$(cat modified_changelog.txt)" >> $GITHUB_ENV 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: ${{ env.changelog }} 176 + body: ${{ steps.extract-changelog.outputs.markdown }} 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${{ env.changelog }}" 183 + args: "# ${{ env.IMAGE_NAME }}-docs@${{ needs.image-tag.outputs.IMAGE_TAG }}\n\n${{ steps.extract-changelog.outputs.markdown }}"