mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-22 14:52:54 +00:00
Create autocompile action
This commit is contained in:
parent
11f4c2e97d
commit
5ce099c33b
24
.github/workflows/autocompile.yml
vendored
Normal file
24
.github/workflows/autocompile.yml
vendored
Normal 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
|
Loading…
Reference in a new issue