Files
InnkeeperBot/.gitea/workflows/release.yaml
MatteoSchiff 29f03992a4
All checks were successful
Build artifact / build (push) Successful in 18s
workflows: Add release workflow
2024-03-13 14:28:50 +01:00

24 lines
536 B
YAML

name: Release and publish
run-name: Release from ${{ gitea.actor }} 🚀
on:
workflow_run:
workflows: ["Build artifact"]
#branches: [main]
types:
- completed
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: InnkeeperBot
- name: Use Go Action
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
InnkeeperBot
api_key: '${{secrets.RELEASE_TOKEN}}'