-
Notifications
You must be signed in to change notification settings - Fork 179
37 lines (32 loc) · 936 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true
permissions:
attestations: write
id-token: write
# Needed for the publish-* workflows
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
perform-release:
name: Perform Release
uses: smallrye/.github/.github/workflows/perform-release.yml@main
secrets: inherit
with:
version: ${{github.event.inputs.tag || github.ref_name}}
deploy-site:
name: GitHub Pages
needs: perform-release
uses: ./.github/workflows/push-deploy-docs.yml
with:
version: ${{github.event.inputs.tag || github.ref_name}}