Skip to content

Publish

Publish #528

Workflow file for this run

name: Publish
on:
schedule:
- cron: '0 2 */3 * *'
# push
jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- name: Install
working-directory: engine
run: npm i
- name: Gulp default
working-directory: engine
run: gulp
env:
GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON}}
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git status
git commit -m "Add changes" -a
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}