Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit 66c79bf

Browse files
authored
added environment (#35)
1 parent c077c06 commit 66c79bf

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
name: release-workflow-name
22
run-name: release workflow run name
3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
github-environment-identifier:
7+
description: name of protected Github environment
8+
required: true
9+
type: environment
410
defaults:
511
run:
612
shell: bash
713
jobs:
814
release-job-identifier:
915
name: release job name
1016
runs-on: ubuntu-latest
17+
environment: ${{ inputs.github-environment-identifier }}
1118
steps:
1219
- name: checkout commit
1320
uses: actions/checkout@v4

0 commit comments

Comments
 (0)