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 4707be8 commit a5f5ad4Copy full SHA for a5f5ad4
.github/workflows/deploy.yml
@@ -79,6 +79,8 @@ jobs:
79
80
get-branch-name:
81
runs-on: ubuntu-latest
82
+ outputs:
83
+ current_branch: ${{ steps.branch-name.outputs.current_branch }}
84
steps:
85
- name: Get branch name
86
id: branch-name
@@ -114,7 +116,7 @@ jobs:
114
116
concurrency: ${{ github.workflow }}-${{ github.ref }}
115
117
118
env:
- VUEPRESS_BASE_URL: ${{ fromJSON('[/${{ needs.get-branch-name.branch-name.outputs.current_branch }}/, "/"]')[github.ref == 'refs/heads/production'] }}
119
+ VUEPRESS_BASE_URL: ${{ fromJSON('[format("/${0}/", needs.get-branch-name.outputs.current_branch), "/"]')[github.ref == 'refs/heads/production'] }}
120
121
- name: Checkout
122
uses: actions/checkout@v4
0 commit comments