Skip to content

Commit

Permalink
Create publish_changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
frylock34 authored May 30, 2023
1 parent 00b446d commit c64ca8a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish_changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CI Code for generating and publishing beta assets

name: publish_changelog
on:
release:
types: [published]
jobs:
generate_assets:
runs-on: ubuntu-latest
env:
WIKI_API_KEY: ${{ secrets.WIKI_API_KEY }}
RELEASE_VERSION: ${{ github.event.release.tag_name }}
RELEASE_DESCRIPTION: ${{ github.event.release.body }}
steps:
- uses: actions/checkout@v2

- name: Update wiki
run: |
curl -XPOST --data '{"repo":"${{github.repository}}","version":"${{ env.RELEASE_VERSION }}", "description": "${{ env.RELEASE_DESCRIPTION }}"}' "https://functions.yandexcloud.net/${{ secrets.FUNCTION_ID }}"

0 comments on commit c64ca8a

Please sign in to comment.