Skip to content

Commit c72c121

Browse files
authored
ci: use onedrive-upload environment (#1345)
1 parent 7900fe0 commit c72c121

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ jobs:
337337
name: devolutions-gateway-web-ui
338338
runs-on: ubuntu-latest
339339
needs: preflight
340+
341+
# DEVOLUTIONSBOT_TOKEN is a repository secret, and it can’t be used by PRs originating from forks.
340342
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
341343

342344
steps:
@@ -1077,6 +1079,7 @@ jobs:
10771079
name: OneDrive
10781080
runs-on: ubuntu-latest
10791081
if: ${{ github.ref == 'refs/heads/master' }}
1082+
environment: onedrive-upload # for OneDrive secrets
10801083
needs:
10811084
- preflight # required for needs.preflight.outputs
10821085
- upload-git-log

0 commit comments

Comments
 (0)