Skip to content

Commit fa98c2f

Browse files
committed
Release workflow now access release environment
I've configured a release environment up on GitHub. This environment is only referenced by the release workflow. The environment holds necessary secrets to for deployment. (which I've recreated due to a codecov security breach) This moves these secrets from the repository scope to the release workflow scope.
1 parent 4d5d106 commit fa98c2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44

55
jobs:
66
release:
7+
environment: release
8+
79
runs-on: ubuntu-latest
810
# I do not know of a way to restrict to the main branch so try to skip the whole job if
911
# user selected some other branch from GitHub Actions GUI

0 commit comments

Comments
 (0)