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 14f7e9b commit fc6ceb8Copy full SHA for fc6ceb8
.github/workflows/build-deploy-zodiac.yml
@@ -19,15 +19,15 @@ jobs:
19
- name: Install dependencies
20
run: yarn install --frozen-lockfile
21
22
- - name: Build React App with Dynamic PUBLIC_URL
23
- run: |
24
- echo "Building for /dev/dev-fan/"
25
- PUBLIC_URL="/dev/dev-fan/" yarn build
26
-
27
- name: Determine Branch Name
28
id: get_branch
29
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
30
+ - name: Build React App with Dynamic PUBLIC_URL
+ run: |
+ echo "Building for /dev/${{ env.BRANCH_NAME }}/"
+ PUBLIC_URL="/dev/${{ env.BRANCH_NAME }}/" yarn build
+
31
- name: Copy package to server
32
uses: NeuroJSON/[email protected]
33
with:
0 commit comments