File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 deploy-main-branches :
3737 runs-on : ubuntu-latest
38- needs : detect
38+ needs : detect-repo-owner
3939 steps :
4040 - name : Checkout sources
4141 uses : actions/checkout@v4
5252 run : |
5353 npm run build
5454 env :
55- VITE_TEST_SERVER_URL : ${{needs.detect.outputs.server}}
55+ VITE_TEST_SERVER_URL : ${{needs.detect-repo-owner .outputs.server}}
5656 NODE_ENV : development
5757 VITE_TEST_SERVER_AUTH : " admin:opencast"
5858
7979 git add $BRANCH index.html
8080 git diff --staged --quiet || git commit --amend -m "Build $(date)"
8181 env :
82- BRANCH : ${{needs.detect.outputs.branch}}
82+ BRANCH : ${{needs.detect-repo-owner .outputs.branch}}
8383
8484 - name : Push updates
8585 run : git push origin gh-pages --force
Original file line number Diff line number Diff line change 3838
3939 deploy-pr :
4040 runs-on : ubuntu-latest
41- needs : detect
41+ needs : detect-repo-owner
4242 steps :
4343 - name : Generate build path
4444 run : echo "build=${{github.event.number}}/$(date +%Y-%m-%d_%H-%M-%S)/" >> $GITHUB_OUTPUT
6262 run : |
6363 npm run build
6464 env :
65- VITE_TEST_SERVER_URL : ${{needs.detect.outputs.server}}
65+ VITE_TEST_SERVER_URL : ${{needs.detect-repo-owner .outputs.server}}
6666 NODE_ENV : development
6767 VITE_TEST_SERVER_AUTH : " admin:opencast"
6868
You can’t perform that action at this time.
0 commit comments