chore(CI): run build procedure for PR.
This commit is contained in:
@ -8,6 +8,9 @@ steps:
|
||||
commands:
|
||||
- (cd web && npm install && npm run build)
|
||||
- (cd templates/ && ./translate.py)
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: deploy-testing
|
||||
image: debian
|
||||
@ -94,10 +97,10 @@ steps:
|
||||
- (cd lang/ && ./sync_translation.py --client $TRADUORA_R_CLIENT --secret $TRADUORA_R_SECRET --fetch)
|
||||
- git add lang/* && git status
|
||||
- git config --global user.email "github@azlux.fr" && git config --global user.name "azlux"
|
||||
- git commit -a -m 'Bot: update strings'
|
||||
- "git commit -a -m 'Bot: update strings'"
|
||||
- git remote set-url origin https://azlux:$GITHUB_API@github.com/azlux/botamusique/
|
||||
- git push --set-upstream origin new-translations && git push
|
||||
- GITHUB_USER="azlux" GITHUB_TOKEN="$GITHUB_API" hub pull-request -m "Bot: TRADUORA Update"
|
||||
- "GITHUB_USER=\"azlux\" GITHUB_TOKEN=\"$GITHUB_API\" hub pull-request -m \"Bot: TRADUORA Update\""
|
||||
when:
|
||||
event:
|
||||
- cron
|
||||
|
Reference in New Issue
Block a user