Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dovy committed Jul 19, 2019
1 parent b1ea47b commit 9540771
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
18 changes: 11 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ php:
- 7.2
env:
global:
- secure: "UENxQUgUm0buyugewFTILloQb157RugVp29W7DmhW3pBorYqF+qwJTr0o/pNmDd7yeVueiHYffavHbMgPuZ/M1oYKhQGJxtdCNMZsG3lhe6ylgvx4I9xCpCBXF9LKUxTkEPAJFIXT96b8b5q2Ql0mGQXQnCTnDgRfvXZUZnZGHn3GZR4jqzw1OOWdhosZzShvDeokt0AeJEiI7CPpAxhjmrzsLRKaTAtfYuTvjX7xNEYBLfWhDNqbTxH5MmwIvGU1p+acuNhRZAXx8Kf5HXfEPO0USXptNPVoV00V6OZaY+TUVIVMoXgr92m7FFeo7Ii0du8Ar71Zu2uNJJEODOy2UKyU/LLAL3aHLB0mSs2ZO/MTI4ZAVWEQosLHWdKu4QYhhm41tA80jyR4hZLYxGJatPBHFEm4JqpXPBuooAgk9GrPDrUf9F6hWTtORyBZGwbIV3GEUhvcKztVBzwAKxTfy6tQwY3R4qdwy9fjvgIGBF+yNTlNMujmoBpzaXxYoDBAjt6m8tv5SyWquN+QuMvyeF0THsoNFpdC/PzztVMmOFTc/tT5Zz5cuYn+idiM0+/+a2QLTj88Nbc2STd1I1YIVX0QgaDbcHjHwl+2+4FtRvhyI3JuNlN5QN+y8TgIF/Uz/EBiCjcLYhlpK09dAlzb+A1Fx0dEFJypeduKVTF9Zw="
- secure: "IzYm/lE5Q4X6MBzFOGmuZQ66a9O/pRtP1ERbGnzFy/F9PJUCeTOIEV1dAR0R9mLWaosl+dT4xVNWSfNcZ2ViPn+OKAkADOGfKzKJEowqXXBG5qxdoiUG+rwwUqS0LPs3zYeShYooUO5or0ac9toF7vylREu1HWO7jb/2ZhI0cM1viKW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n+idiM0+/+a2QLTj88Nbc2STd1I1YIVX0QgaDbcHjHwl+2+4FtRvhyI3JuNlN5QN+y8TgIF/Uz/EBiCjcLYhlpK09dAlzb+A1Fx0dEFJypeduKVTF9Zw=
- secure: IzYm/lE5Q4X6MBzFOGmuZQ66a9O/pRtP1ERbGnzFy/F9PJUCeTOIEV1dAR0R9mLWaosl+dT4xVNWSfNcZ2ViPn+OKAkADOGfKzKJEowqXXBG5qxdoiUG+rwwUqS0LPs3zYeShYooUO5or0ac9toF7vylREu1HWO7jb/2ZhI0cM1viKW0cN1K+Qbzz0r3Ys62qNIg8RTKp96AvXWb6BepImx5WU6QPEDsMf1mCH3ajZ5CFRo7rRpmLswllEiLXHPk55b2iq+V2OsymB6ddVlnehKbPpcYftGOjg5dzrYRWVIQwQcKFitzCCGXqEmCkgm8MZ6Vp10BfENX0PzK4SvBFe3R4EnSRURupCKnspQAaCK0lhdeBJUCimh3yM5ofqVmstffKsHhWSRCgt+xfjsYjKSrpJdA49wWUwbECHsql2LhUvV7i7vyb/lMyj1TsGEq+ChdKhMitv/Ex+sJy28Up/GGG3m7vKOMc6Aum7QFZBkQxdE84iGChusAIWLZnRE0lk8STRpd5xBvcj2iE6aG0EezSvBasBRiJW3d7gjWozfta3Jvhw089ElIFd7/f1yo7qTFk/Hj6QkpFfWCLlHvrSb0mTZ/DFVD1UtamLnPUybsF5xf+5497GIGg5AwOC6zrO5p62kFcnuI9oFHLFVzAEQ3ijfqPGzlD5OHTcYY5jw=
script:
- php run.php
#notifications:
# email:
# recipients:
# - [email protected]
# on_failure: always
deploy:
provider: releases
skip_cleanup: true
overwrite: true
api_key:
secure: iAE5pOG/J68aisLabFlqdgfoFNLzLoOUjHqbgEbp6H+4RUDw7Z3nVw6ahgFyhkaEAFOjiwz7ePPQbkpkYrfICQWrupEHr6pHZtGkWVALlv3+WNYhBF/29Q122df0J+NQOBqkQvGcUpUHPhS+4ATS1QT6aYaMsrDAPY8+J/4rUCGJzW0d1vZBuzTrxiXoTq3A0OMaO83oOpIO0kbat2KVQNiC/dSSl+VtTNlhPpIErBGaTYMrIHavgsh7rPSuSuedV+K+Bn1rgrZYcyF1R0e5xTpLJMZPZ98BL9H2BHfGHVF4FOfQE3wg00AXTopJQdqqQ8f8t6Bn07EGr0DivVDLUoKoQpuSjbat4ux36g3BWPg0hMZVVqNb/4YewDIxmU9JMsUrgrVaWPfllL6cFx4gKvDKuGayBEn6/arkeI0zQ9EPFwvQRx1aIAd7x1AZO1OL2Ub6Rz8BboNLF4exy6Z2tuLOeCEbQsV6dZAb7788fJQWmxZmETj1ysiuTM+Wumh/KKQRIIRlZzPAzYzLiKv6U4zH6gemCUi6ZxeDqBgECpo6HsGLTurGKSsAHzyhTF/Sr3/XF96HcOLtOvU/4JKhrD07dxTvHSkNGI1VxuWf+IrWEBb/7Wqj3pzQuBU0L4hPfBnRWGBRVWoIc/AypT5IIxwb9N9KNqAIM+C8dHWskwI=
file: google_fonts.json
on:
repo: reduxframework/google-fonts
22 changes: 11 additions & 11 deletions run.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,17 @@ function getVariants( $var ) {

echo "Saved new JSON\n\n";

echo shell_exec( 'git config --global user.email "[email protected]"' );
echo shell_exec( 'git config --global user.name "Travis CI"' );
echo shell_exec( 'git add -A' );

$build_number = getenv( 'TRAVIS_BUILD_NUMBER' );
echo shell_exec( "git commit -m \"Travis build: $build_number [skip ci]\"" );
$gh_token = getenv( 'GF_TOKEN' );
echo shell_exec( "git remote set-url origin https://$gh_token@github.com/reduxframework/google-fonts.git > /dev/null 2>&1" );
echo "\n\n";
//echo shell_exec("git push https://[email protected]/reduxframework/google-fonts.git --force");
echo shell_exec("git push origin master -f");
# echo shell_exec( 'git config --global user.email "[email protected]"' );
# echo shell_exec( 'git config --global user.name "Travis CI"' );
# echo shell_exec( 'git add -A' );

# $build_number = getenv( 'TRAVIS_BUILD_NUMBER' );
# echo shell_exec( "git commit -m \"Travis build: $build_number [skip ci]\"" );
# $gh_token = getenv( 'GF_TOKEN' );
# echo shell_exec( "git remote set-url origin https://[email protected]/reduxframework/google-fonts.git > /dev/null 2>&1" );
# echo "\n\n";
# //echo shell_exec("git push https://[email protected]/reduxframework/google-fonts.git --force");
# echo shell_exec("git push origin master -f");
//} else {
// echo 'something went wrong';
//}
Expand Down

0 comments on commit 9540771

Please sign in to comment.