ci: update docs on release

This commit is contained in:
takase1121
2024-12-04 13:02:06 +08:00
parent ccf7383c34
commit acf1daed7c
+21
View File
@@ -0,0 +1,21 @@
name: Publish to winget
on:
release:
types: [released]
jobs:
publish:
if: ${{ github.repository == 'lite-xl/lite-xl' && startsWith(github.ref, 'refs/tags/v') }}
runs-on: windows-latest
steps:
- name: Release to winget
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: LiteXLTeam.LiteXL
installers-regex: '^LiteXL-v[0-9\.]+-x86_64-setup\.exe$'
fork-user: 'lite-xl'
token: ${{ secrets.WINGET_TOKEN }}
- name: Update documentation link
env: { GH_TOKEN: "${{ secrets.DOCS_TOKEN }}" }
run: gh -R lite-xl/docs workflow run deploy.yml