mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Tools: Build doc on CI (#10100)
This commit is contained in:
parent
56dde88003
commit
b152732d7f
16
.github/scripts/run_ci.sh
vendored
16
.github/scripts/run_ci.sh
vendored
@ -202,14 +202,16 @@ fi
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
if [ "$RUN_TESTS" == "1" ]; then
|
if [ "$RUN_TESTS" == "1" ]; then
|
||||||
echo "Step: Check that the website still builds..."
|
if [ "$IS_LINUX" == "1" ]; then
|
||||||
|
echo "Step: Check that the website still builds..."
|
||||||
|
|
||||||
mkdir -p ../joplin-website/docs
|
mkdir -p ../joplin-website/docs
|
||||||
ll ../joplin-website/docs/api/references/plugin_api
|
CROWDIN_PERSONAL_TOKEN="$CROWDIN_PERSONAL_TOKEN" yarn crowdinDownload
|
||||||
SKIP_SPONSOR_PROCESSING=1 yarn buildWebsite
|
SKIP_SPONSOR_PROCESSING=1 yarn buildWebsite
|
||||||
testResult=$?
|
testResult=$?
|
||||||
if [ $testResult -ne 0 ]; then
|
if [ $testResult -ne 0 ]; then
|
||||||
exit $testResult
|
exit $testResult
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
1
.github/workflows/github-actions-main.yml
vendored
1
.github/workflows/github-actions-main.yml
vendored
@ -127,6 +127,7 @@ jobs:
|
|||||||
BUILD_SEQUENCIAL: 1
|
BUILD_SEQUENCIAL: 1
|
||||||
SERVER_REPOSITORY: joplin/server
|
SERVER_REPOSITORY: joplin/server
|
||||||
SERVER_TAG_PREFIX: server
|
SERVER_TAG_PREFIX: server
|
||||||
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
"${GITHUB_WORKSPACE}/.github/scripts/run_ci.sh"
|
"${GITHUB_WORKSPACE}/.github/scripts/run_ci.sh"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user