From edcc66535c5661b3488b3a159ce8bdf1d5892e3f Mon Sep 17 00:00:00 2001 From: Michael Kuenzli Date: Tue, 28 Nov 2023 18:14:04 +0100 Subject: [PATCH] Add triggers, deploy artifact --- .github/workflows/build-page.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-page.yml b/.github/workflows/build-page.yml index 77bfbbe..1979688 100644 --- a/.github/workflows/build-page.yml +++ b/.github/workflows/build-page.yml @@ -1,6 +1,10 @@ name: Build page -on: pull_request +on: + pull_request: + push: + schedule: + - cron: '0 23 * * 5' # At 23:00 on Friday jobs: build: @@ -17,3 +21,9 @@ jobs: - name: Build run: bundle exec jekyll build + + - name: Upload pages artifact + uses: actions/upload-pages-artifact@v2 + if: github.ref == 'refs/heads/main' + with: + path: _site/