diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 21 | ||||
-rw-r--r-- | .github/workflows/closepr.yml | 14 |
2 files changed, 35 insertions, 0 deletions
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 <at> beyermatthias <dot> de" + |