28 lines
706 B
YAML
28 lines
706 B
YAML
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
ref_name:
|
|
description: 'Tag or commit'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
upload-release:
|
|
runs-on: x86_64
|
|
container:
|
|
image: docker.io/node:20-bookworm
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 500
|
|
ref: ${{ inputs.ref_name }}
|
|
- uses: actions/forgejo-release@v2.3.0
|
|
with:
|
|
direction: upload
|
|
url: https://ayakael.net
|
|
repo: mirrors/zotero
|
|
sha: f55d5c106785e0575f2d48abf34e4de252c4f301
|
|
tag: ${{ inputs.ref_name }}
|
|
verbose: true
|
|
token: ${{ secrets.CODE_FORGEJO_TOKEN }}
|
|
release-dir: ./
|