File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Web Application
1+ name : Build webinterface docker
22
33on :
44 push :
55 branches :
66 - main
77
88jobs :
9- trigger- build :
9+ build-docker :
1010 runs-on : ubuntu-latest
11-
1211 steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v3
14+ - name : Set up Node.js
15+ uses : actions/setup-node@v3
16+ with :
17+ node-version : 18
18+ - name : Create docker-build path
19+ -run : mkdir docker-uild
20+ - name : Install dependencies
21+ run : yarn install
22+ working-directory : frontend
23+ - name : Build WebInterface Frontend
24+ run : env REACT_APP_API_URL="" env BUILD_PATH="../../../docker-build" yarn workspace @lingodb/interface build
25+ working-directory : frontend
1326 - name : Authenticate GitHub CLI
1427 run : echo "${{ secrets.LINGODB_TOKEN }}" | gh auth login --with-token
1528 - name : Trigger build in Repo A
7386 repos/lingo-db/lingodb-test-actions/actions/artifacts/$artifact_id/zip > artifact.zip
7487
7588 mkdir -p docker-build
76- unzip artifact.zip -d docker-build
89+ unzip artifact.zip -d docker-build/lingodb-binaries
7790
7891 echo "Artifact extracted to docker-build directory."
92+ - name : Build docker
93+ run : docker build -t lingodb-webinterface .
You can’t perform that action at this time.
0 commit comments