This commit is contained in:
darksun 2018-10-23 20:55:20 +08:00
parent dae8a648ca
commit 88c533636c
2 changed files with 6 additions and 6 deletions

View File

@ -15,6 +15,6 @@ deploy:
provider: pages provider: pages
skip_cleanup: true skip_cleanup: true
github_token: $GITHUB_TOKEN github_token: $GITHUB_TOKEN
local_dir: badge local_dir: build
on: on:
branch: badge branch: badge

View File

@ -51,8 +51,8 @@ rule-translation-published:
echo 'Rule Matched: $(@)' echo 'Rule Matched: $(@)'
badge: badge:
mkdir -p badge mkdir -p build/badge
./lctt-scripts/show_status.sh -s published >badge/published.svg ./lctt-scripts/show_status.sh -s published >build/badge/published.svg
./lctt-scripts/show_status.sh -s translated >badge/translated.svg ./lctt-scripts/show_status.sh -s translated >build/badge/translated.svg
./lctt-scripts/show_status.sh -s translating >badge/translating.svg ./lctt-scripts/show_status.sh -s translating >build/badge/translating.svg
./lctt-scripts/show_status.sh -s sources >badge/sources.svg ./lctt-scripts/show_status.sh -s sources >build/badge/sources.svg