quatalog-scraper/.github/workflows/autocompile.yml

27 lines
515 B
YAML
Raw Normal View History

2023-02-06 20:13:23 +00:00
name: Autocompile
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Compile (make)
2023-02-06 21:42:41 +00:00
run: |
cd bin
make
2023-02-06 20:13:23 +00:00
- name: Push compiled binary
run: |
git config --global user.name "Quatalog Compiler"
git config --global user.email "github_actions@quatalog.com"
2023-02-06 22:11:28 +00:00
git add bin
2023-02-06 20:13:23 +00:00
git commit -m "Recompile scraper : $(date)"
git push