scripts/shared-hugo-scripts: use the latest commit

This commit is contained in:
liushuyu 2023-03-18 15:32:36 -06:00
parent b1d09c5b43
commit c72ea1e6b3
No known key found for this signature in database
GPG key ID: 23D1CE4534419437
3 changed files with 6 additions and 7 deletions

View file

@ -3,8 +3,7 @@
echo -e '\e[1m\e[36m========== Installing gulp & dependencies ==========\e[0m'
yarn install
# Install dependencies one-by-one to avoid race-conditions
yarn --cwd ./scripts/shared-hugo-scripts/wiki/
yarn --cwd ./scripts/shared-hugo-scripts/compatdb/
yarn --cwd ./scripts/shared-hugo-scripts/
yarn hugo version
echo -e '\e[1m\e[36m========== Starting gulp deploy task ===============\e[0m'
if [[ -n "${EPHEMERAL_BASE_URL}" ]]; then

View file

@ -10,14 +10,14 @@ const parallel = require('concurrent-transform');
const browserSync = require('browser-sync').create();
// Gulp Run Tasks
gulp.task('scripts:compatdb', callback => {
exec('cd ./scripts/shared-hugo-scripts/compatdb/ && yarn install && node app.js', (err, stdout, stderr) => {
gulp.task('scripts:compatdb', function (callback) {
exec('yarn run compatdb', { cwd: './scripts/shared-hugo-scripts/' }, function (err, stdout, stderr) {
callback(err);
});
});
gulp.task('scripts:wiki', callback => {
exec('cd ./scripts/shared-hugo-scripts/wiki/ && yarn install && node app.js', (err, stdout, stderr) => {
gulp.task('scripts:wiki', function (callback) {
exec('yarn run wiki', { cwd: './scripts/shared-hugo-scripts/' }, function (err, stdout, stderr) {
callback(err);
});
});

@ -1 +1 @@
Subproject commit 6607aac2f25352e6b35f1f4f99dc9f201603f11f
Subproject commit e22d9896a3d67f5395707a252ff887e55642e0ea