mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
update
This commit is contained in:
parent
5d2bc42cd0
commit
166f0c15a4
@ -1,12 +1,12 @@
|
||||
language: c
|
||||
script:
|
||||
- make -s check
|
||||
- make -s deploy
|
||||
- make -s badge
|
||||
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- badge
|
||||
|
||||
install:
|
||||
- git clone --depth=1 https://github.com/LCTT/lctt-scripts
|
||||
@ -16,6 +16,6 @@ deploy:
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
github_token: $GITHUB_TOKEN
|
||||
local_dir: status_badge
|
||||
local_dir: badge
|
||||
on:
|
||||
branch: master
|
||||
|
8
Makefile
8
Makefile
@ -50,5 +50,9 @@ rule-translation-published:
|
||||
[ $(shell cat $(CHANGE_FILE) | wc -l) = 2 ]
|
||||
echo 'Rule Matched: $(@)'
|
||||
|
||||
deploy:
|
||||
echo 'deployed'
|
||||
badge:
|
||||
mkdir -p badge
|
||||
./lctt-scripts/show_status.sh -s published >badge/published.svg
|
||||
./lctt-scripts/show_status.sh -s translated >badge/translated.svg
|
||||
./lctt-scripts/show_status.sh -s translating >badge/translating.svg
|
||||
./lctt-scripts/show_status.sh -s sources >badge/sources.svg
|
||||
|
Loading…
Reference in New Issue
Block a user