Skip to content

CI

CI #1467

Workflow file for this run

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 }}