File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,19 +24,22 @@ jobs:
2424 ref : ${{ github.event.pull_request.head.ref }}
2525 repository : ${{ github.event.pull_request.head.repo.full_name }}
2626
27- - name : get Node .js
27+ - name : get node .js
2828 uses : actions/setup-node@v4
2929 with :
3030 node-version : 20
3131
3232 - name : download dependencies
3333 run : npm ci
3434
35+ - name : determine the correct test server
36+ id : vite-url
37+ run : echo "VITE_TEST_SERVER_URL=`./.github/get-release-server.sh ${{ github.base_ref }}`" >> GITHUB_ENV
38+
3539 - name : build app
3640 env :
37- PUBLIC_URL : / ${{ steps.build-path .outputs.build }}
41+ VITE_TEST_SERVER_URL : ${{ steps.vite-url .outputs.VITE_TEST_SERVER_URL }}
3842 NODE_ENV : development
39- VITE_TEST_SERVER_URL : " https://develop.opencast.org"
4043 VITE_TEST_SERVER_AUTH : " admin:opencast"
4144 run : npm run build
4245
You can’t perform that action at this time.
0 commit comments