ci: Hooking up the deploy workflow after a tag build
This commit is contained in:
parent
eb74d05765
commit
d5893a0752
2 changed files with 5 additions and 4 deletions
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_call:
|
||||||
workflows: [build]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue