Build application #793
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: Build application | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * *' | |
repository_dispatch: | |
types: | |
- webhook | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
date +%s > lastUpdate | |
git config user.name pablosirera | |
git config user.email psirera4@gmail.com | |
git add lastUpdate | |
git diff --quiet && git diff --staged --quiet || git commit -m "[bot] Update web with latest" | |
git push origin master |