From 841f70952d9b5ffc49eec2fcc5c803b8fe9c5a7f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 30 May 2021 13:15:49 +0200 Subject: Add github workflows Signed-off-by: Matthias Beyer --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ .github/workflows/closepr.yml | 14 ++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/closepr.yml (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5d847fd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: 'checkout' + uses: actions/checkout@v2 + + - name: 'checkout theme' + uses: actions/checkout@v2 + with: + repository: 'matthiasbeyer/zola_easydocs_theme' + ref: 'customization' + path: 'themes/zola_easydocs_theme' + + - name: 'build' + uses: shalzz/zola-deploy-action@v0.13.0 + env: + BUILD_DIR: . + BUILD_ONLY: true diff --git a/.github/workflows/closepr.yml b/.github/workflows/closepr.yml new file mode 100644 index 0000000..e81845c --- /dev/null +++ b/.github/workflows/closepr.yml @@ -0,0 +1,14 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + comment: "Please send patches via mail to mail beyermatthias de" + -- cgit v1.2.3