mirror of
https://github.com/web3privacy/news.git
synced 2024-10-15 18:06:26 +02:00
update workflow
This commit is contained in:
parent
8582b67202
commit
bc4fe3d048
1 changed files with 6 additions and 6 deletions
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
deno-version: v1.x
|
deno-version: v1.x
|
||||||
|
|
||||||
- name: Build bundle
|
- name: Build bundle
|
||||||
run: make
|
run: make build
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
@ -37,11 +37,11 @@ jobs:
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: ./web/package-lock.json
|
cache-dependency-path: ./web/package-lock.json
|
||||||
|
|
||||||
- name: Web install
|
- name: Build frontend
|
||||||
run: "cd web && npm install"
|
run: make frontend
|
||||||
|
|
||||||
- name: Web build
|
- name: Compile all together
|
||||||
run: "cd web && npm run build"
|
run: make compile
|
||||||
|
|
||||||
- name: Upload Pages Artifact
|
- name: Upload Pages Artifact
|
||||||
# Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer
|
# Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer
|
||||||
|
|
Loading…
Reference in a new issue