mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
fix bad condition and add auth
And commit to master
This commit is contained in:
parent
a591ea9212
commit
7d3a81799f
2 changed files with 3 additions and 3 deletions
|
@ -8,10 +8,10 @@ cache:
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: update translations
|
- stage: update translations
|
||||||
if: $TRAVIS_EVENT_TYPE == cron
|
if: type == cron
|
||||||
script: ./scripts/update-translations.sh
|
script: ./scripts/update-translations.sh
|
||||||
- stage: npm release
|
- stage: npm release
|
||||||
if: (branch = master OR branch = npm-publish) AND $TRAVIS_EVENT_TYPE != cron
|
if: branch in (master, npm-publish) AND type != cron
|
||||||
node_js: 8
|
node_js: 8
|
||||||
script: npm run build
|
script: npm run build
|
||||||
before_deploy:
|
before_deploy:
|
||||||
|
|
|
@ -11,4 +11,4 @@ npm run test
|
||||||
# commit any updates and push. Build and release should happen on the push not here.
|
# commit any updates and push. Build and release should happen on the push not here.
|
||||||
git add .
|
git add .
|
||||||
git commit -m "pull new editor translations from Transifex"
|
git commit -m "pull new editor translations from Transifex"
|
||||||
git push
|
git push https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git HEAD:master
|
||||||
|
|
Loading…
Reference in a new issue