Skip to content

Commit 5746665

Browse files
committed
trying
1 parent 063e761 commit 5746665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ jobs:
116116
concurrency: ${{ github.workflow }}-${{ github.ref }}
117117
runs-on: ubuntu-latest
118118
env:
119-
VUEPRESS_BASE_URL: ${{ github.ref == 'refs/heads/production' && '/' || format("/{0}/", needs.get-branch-name.outputs.current_branch) }}
120-
# VUEPRESS_BASE_URL: ${{ fromJSON('[format("/{0}/", needs.get-branch-name.outputs.current_branch), "/"]')[github.ref == 'refs/heads/production'] }}
119+
VUEPRESS_BASE_URL:
120+
${{ fromJSON('{"false": "/${{ needs.get-branch-name.outputs.current_branch }}/", "true": "/"}')[github.ref == 'refs/heads/production'] }}
121121
steps:
122122
- name: Checkout
123123
uses: actions/checkout@v4

0 commit comments

Comments
 (0)