You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Continuous Deployment
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- 'v*.*.*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
name: Deploy and release
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Generate the changelog
|
|
|
|
uses: orhun/git-cliff-action@main
|
|
|
|
id: git-cliff
|
|
|
|
with:
|
|
|
|
config: cliff.toml
|
|
|
|
args: --latest --strip all
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
OUTPUT: CHANGES.md
|
|
|
|
|
|
|
|
- name: Create GitHub release
|
|
|
|
run: |
|
|
|
|
gh release create ${{ github.ref_name }} \
|
|
|
|
--title "Release ${{ github.ref_name }}" \
|
|
|
|
--notes-file CHANGES.md
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|