From 27b04a37d7ac3d720bf430ff54fafe0c1faedde7 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Tue, 6 Jul 2021 17:52:01 +0200 Subject: [PATCH] Create week.yml --- .github/workflows/week.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/week.yml diff --git a/.github/workflows/week.yml b/.github/workflows/week.yml new file mode 100644 index 0000000..c5a19a0 --- /dev/null +++ b/.github/workflows/week.yml @@ -0,0 +1,31 @@ +name: build-pack + +on: + push: + schedule: + - cron: "21 6 * * *" + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Install Lein + run: | + sudo apt update + sudo apt install leiningen + - name: Build + run: | + lein run + - name: Upload + run: | + rm -rf docs/index.html + mv dist/index.html docs + git config user.email "action@github.com" + git config user.name "GitHub Action" + git add docs/index.html + git commit -m 'Update build' + git push origin master +