mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Chore: Fix CI
This commit is contained in:
parent
bce18a1614
commit
ac5e484d4e
2
.github/scripts/run_ci.sh
vendored
2
.github/scripts/run_ci.sh
vendored
@ -179,7 +179,7 @@ if [ "$IS_PULL_REQUEST" == "1" ] || [ "$IS_DEV_BRANCH" = "1" ]; then
|
|||||||
echo "Step: Check that the website still builds..."
|
echo "Step: Check that the website still builds..."
|
||||||
|
|
||||||
mkdir -p ../joplin-website/docs
|
mkdir -p ../joplin-website/docs
|
||||||
yarn run buildWebsite
|
SKIP_SPONSOR_PROCESSING=1 yarn run buildWebsite
|
||||||
testResult=$?
|
testResult=$?
|
||||||
if [ $testResult -ne 0 ]; then
|
if [ $testResult -ne 0 ]; then
|
||||||
exit $testResult
|
exit $testResult
|
||||||
|
@ -257,7 +257,7 @@ async function main() {
|
|||||||
await remove(`${docDir}`);
|
await remove(`${docDir}`);
|
||||||
await copy(websiteAssetDir, `${docDir}`);
|
await copy(websiteAssetDir, `${docDir}`);
|
||||||
|
|
||||||
const sponsors = await loadSponsors();
|
const sponsors = process.env.SKIP_SPONSOR_PROCESSING ? { github: [], orgs: [] } : await loadSponsors();
|
||||||
const partials = await loadMustachePartials(partialDir);
|
const partials = await loadMustachePartials(partialDir);
|
||||||
const assetUrls = await getAssetUrls();
|
const assetUrls = await getAssetUrls();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user