File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 6666 - name : Build web frontend image
6767 run : docker build --build-arg MIRROR=https://registry.npmmirror.com -t nexent/nexent-web -f make/web/Dockerfile .
6868
69+ build-docs :
70+ runs-on : ${{ fromJson(inputs.runner_label_json) }}
71+ steps :
72+ - name : Checkout code
73+ uses : actions/checkout@v4
74+ with :
75+ fetch-depth : 1
76+ retries : 3
77+ - name : Build docs image
78+ run : docker build --progress=plain -t nexent/nexent-docs -f make/docs/Dockerfile .
79+
6980 deploy :
7081 runs-on : ${{ fromJson(inputs.runner_label_json) }}
71- needs : [ build-main, build-data-process, build-web ]
82+ needs : [ build-main, build-data-process, build-web, build-docs ]
7283 steps :
7384 - name : Checkout code
7485 uses : actions/checkout@v4
8091 rm -rf $HOME/nexent
8192 mkdir -p $HOME/nexent
8293 cp -r $GITHUB_WORKSPACE/* $HOME/nexent/
94+ - name : Start docs container
95+ run : |
96+ docker stop nexent-docs 2>/dev/null || true
97+ docker rm nexent-docs 2>/dev/null || true
98+ docker run -d --name nexent-docs -p 4173:4173 nexent/nexent-docs
8399 - name : Ensure deploy.sh is executable
84100 run : chmod +x $HOME/nexent/docker/deploy.sh
85101 - name : Deploy with deploy.sh
You can’t perform that action at this time.
0 commit comments