From 5ce099c33b65a027fc7afa422decaf77f302a522 Mon Sep 17 00:00:00 2001 From: 3eef8a28f26fb2bcc514e6f1938929a1f931762 <116031952+3eef8a28f26fb2bcc514e6f1938929a1f931762@users.noreply.github.com> Date: Mon, 6 Feb 2023 15:13:23 -0500 Subject: [PATCH] Create autocompile action --- .github/workflows/autocompile.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/autocompile.yml diff --git a/.github/workflows/autocompile.yml b/.github/workflows/autocompile.yml new file mode 100644 index 0000000..67495a7 --- /dev/null +++ b/.github/workflows/autocompile.yml @@ -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