quatalog-scraper/.github/workflows/autocompile.yml
3eef8a28f26fb2bcc514e6f1938929a1f931762 efc94b050b Fix workflow, maybe
2023-02-06 17:28:31 -05:00

28 lines
563 B
YAML

name: Autocompile
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Compile (make)
run: |
cd bin
make
- name: Push compiled binary
run: |
git config --global user.name "Quatalog Compiler"
git config --global user.email "github_actions@quatalog.com"
git add bin
git commit -m "Recompile scraper : $(date)" || exit 0
git push