Skip to content

ChatSpeed v1.1.1

ChatSpeed v1.1.1 #7

Workflow file for this run

name: Publish Updater Manifest
on:
release:
types: [published]
permissions:
contents: write
jobs:
deploy-updater-manifest:
name: Deploy Updater Manifest
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Download latest.json
env:
GH_TOKEN: ${{ github.token }}
run: |
mkdir -p ./updater-dist
gh release download ${{ github.event.release.tag_name }} --pattern 'latest.json' --dir ./updater-dist --clobber
- name: Deploy to updater-meta branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./updater-dist
publish_branch: updater-meta
keep_files: false
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: 'Deploy latest.json for ${{ github.event.release.tag_name }}'