CI #1729
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
composer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: nanasess/setup-php@master | |
with: | |
php-version: '7.2' | |
- run: php ./run.php ${{ secrets.GOOGLE_TOKEN }} | |
env: | |
GOOGLE_TOKEN: ${{secrets.GOOGLE_TOKEN}} | |
- run: git config --global user.email "[email protected]" && git config --global user.name "Google WPOnion" && git add -A | |
- run: git commit -m "Google Fonts Updated" | |
- run: git push "https://x-access-token:[email protected]/$GITHUB_REPOSITORY" HEAD:master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |