summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-05-30 13:15:49 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-05-30 14:10:56 +0200
commit841f70952d9b5ffc49eec2fcc5c803b8fe9c5a7f (patch)
tree975d52f90badb9b871f29b7a1e10aa92a03d6750 /.github
parentecd6302eb565ae481b51dbe46e0089d972f746ac (diff)
Add github workflows
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
-rw-r--r--.github/workflows/closepr.yml14
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"
+