Skip to content

Commit

Permalink
fetch lfs file
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 4, 2024
1 parent da7ec99 commit 2c66251
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12]
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -32,23 +32,26 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12]
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '14.17.0'
- name: build web
run: |
git lfs pull
cd wedpr-web && npm install && npm run build:pro
upload-web:
name: upload-web
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
Expand Down
1 change: 1 addition & 0 deletions docker-files/site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ LABEL maintainer [email protected]

RUN mkdir -p /data/app/
COPY --from=builder /WeDPR/wedpr-site/dist/ /data/app/wedpr-site
# TODO: fetch the web package from github tag
ENTRYPOINT ["/bin/bash"]

0 comments on commit 2c66251

Please sign in to comment.