mirror of
https://github.com/Wivik/vinyl-records-collection-theme.git
synced 2024-11-21 15:13:17 +01:00
ci: add workflow
This commit is contained in:
parent
5426003464
commit
7c4fe8b7c6
28
.github/workflows/release.yml
vendored
Normal file
28
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Release theme
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Produce release note
|
||||
uses: TriPSs/conventional-changelog-action@v3
|
||||
id: changelog
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
version-file: './version_file.json'
|
||||
|
||||
- name: Publish release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: ${{ steps.changelog.outputs.tag }}
|
||||
with:
|
||||
body: ${{ steps.changelog.outputs.clean_changelog }}
|
||||
tag_name: ${{ steps.changelog.outputs.tag }}
|
Loading…
Reference in New Issue
Block a user