Skip to content

Commit 5e05285

Browse files
committed
Fix website build
1 parent b613ae4 commit 5e05285

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install node dependencies 🏗
5959
shell: bash
6060
run: |
61-
yarn install
61+
npm install
6262
6363
- name: Build 🔧
6464
shell: bash

Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,24 @@ all: production
55
composer.lock:
66
@composer update
77

8-
yarn.lock:
9-
@if [ ! -f ./yarn.lock ]; then yarn --silent install; else yarn --silent upgrade; fi
8+
package-lock.json:
9+
@if [ ! -f ./package-lock.json ]; then npm install --silent; else npm update --silent; fi
1010

1111
data/github:
1212
@./bin/github-download-organization-repos-latest-releases-data libimobiledevice
1313

1414
watch: export CECIL_DEBUG=true
15-
watch: composer.lock yarn.lock data/github
15+
watch: composer.lock package-lock.json data/github
1616
@rm -rf .cache && ln -sf config.development.yml config.yml && ./vendor/bin/cecil serve
1717

1818
watch-production: export CECIL_DEBUG=false
19-
watch-production: composer.lock yarn.lock data/github
19+
watch-production: composer.lock package-lock.json data/github
2020
@rm -rf .cache && ln -sf config.production.yml config.yml && ./vendor/bin/cecil serve
2121

2222
development: export CECIL_DEBUG=true
23-
development: composer.lock yarn.lock data/github
23+
development: composer.lock package-lock.json data/github
2424
@rm -rf .cache && ln -sf config.$@.yml config.yml && ./vendor/bin/cecil -vvv build
2525

26-
production: composer.lock yarn.lock data/github
26+
production: export CECIL_DEBUG=true
27+
production: composer.lock package-lock.json data/github
2728
@rm -rf .cache && ln -sf config.$@.yml config.yml && ./vendor/bin/cecil -vvv build

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@
4747
"ext-intl": "*",
4848
"ext-gettext": "*",
4949
"cecil/cecil": "^5.33.0",
50+
"cocur/slugify": "4.0.0",
51+
"keinos/parsedown-toc": "^1.4.1",
5052
"yosymfony/resource-watcher": "3.0.0 as 2.0.1",
5153
"twig/extensions": "^1.5"
5254
},
5355
"require-dev": {
5456
}
55-
}
57+
}

0 commit comments

Comments
 (0)