Skip to content

Commit 6602535

Browse files
committed
[ci] Third time's the charm?
Seems global `env` values maybe can't be used in `if` expressions? But local ones might?
1 parent 3d9d278 commit 6602535

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pelican.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ env:
4848
REQUIREMENTS: "-r requirements.txt"
4949
# FIXME: remove once official action can be used
5050
OUTPUT_PATH: "output/"
51-
# FIXME: remove when workflow is no longer bitrotted
52-
DEPLOY: false
5351

5452
# Allow one concurrent deployment
5553
concurrency:
@@ -106,10 +104,13 @@ jobs:
106104
with:
107105
path: ${{ env.OUTPUT_PATH }}
108106
deploy:
107+
env:
108+
# FIXME: remove when workflow is no longer bitrotted
109+
DEPLOY: false
109110
concurrency:
110111
group: "pages"
111112
cancel-in-progress: false
112-
if: env.DEPLOY
113+
if: ${{ env.DEPLOY }}
113114
environment:
114115
name: github-pages
115116
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)