We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063e761 commit 5746665Copy full SHA for 5746665
.github/workflows/deploy.yml
@@ -116,8 +116,8 @@ jobs:
116
concurrency: ${{ github.workflow }}-${{ github.ref }}
117
runs-on: ubuntu-latest
118
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'] }}
+ VUEPRESS_BASE_URL:
+ ${{ fromJSON('{"false": "/${{ needs.get-branch-name.outputs.current_branch }}/", "true": "/"}')[github.ref == 'refs/heads/production'] }}
121
steps:
122
- name: Checkout
123
uses: actions/checkout@v4
0 commit comments