ci: Hooking up the deploy workflow after a tag build

This commit is contained in:
Patrick Sy 2025-10-08 15:35:25 +02:00
parent eb74d05765
commit d5893a0752
Signed by: Patrick.Sy
GPG key ID: DDDC8EC51823195E
2 changed files with 5 additions and 4 deletions

View file

@ -50,3 +50,7 @@ jobs:
allow: network.host allow: network.host
network: host network: host
tags: ${{ steps.docker.outputs.tags }} tags: ${{ steps.docker.outputs.tags }}
- name: Deploy
uses: ./.forgejo/workflows/deploy.yaml
if: startsWith(github.ref, 'refs/tags/v')

View file

@ -1,10 +1,7 @@
name: deploy name: deploy
on: on:
workflow_run: workflow_call:
workflows: [build]
types:
- completed
workflow_dispatch: workflow_dispatch:
jobs: jobs: