Create autocompile action

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-06 15:13:23 -05:00 committed by GitHub
parent 11f4c2e97d
commit 5ce099c33b

24
.github/workflows/autocompile.yml vendored Normal file
View file

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