mirror of
https://github.com/outline/outline.git
synced 2026-11-25 23:24:06 +03:00
ci: fix invalid secrets expression in RelativeCI step condition (#12791)
The secrets context is not available in step-level if conditions, which made the workflow file invalid. Map the secret to an env var and test that instead. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
e646b14225
commit
bb6f05de48
1 file changed
+3
-1
@@ -126,7 +126,9 @@ jobs:
|
||||
run: echo "NODE_ENV=production" >> $GITHUB_ENV
|
||||
- run: yarn vite:build
|
||||
- name: Send bundle stats to RelativeCI
|
||||
if: ${{ secrets.RELATIVE_CI_KEY != '' }}
|
||||
if: ${{ env.RELATIVE_CI_KEY != '' }}
|
||||
env:
|
||||
RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }}
|
||||
uses: relative-ci/agent-action@38328454d6a23942175eba485fca4fbb807b1f03 # v2
|
||||
with:
|
||||
key: ${{ secrets.RELATIVE_CI_KEY }}
|
||||
|
||||
Reference in new issue
Block a user