You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by to...@apache.org on 2021/02/25 18:08:37 UTC
[db-jdo-site] 01/01: Add site build workflow for pull requests
This is an automated email from the ASF dual-hosted git repository.
tobous pushed a commit to branch add-build-workflow
in repository https://gitbox.apache.org/repos/asf/db-jdo-site.git
commit 6b8c4ff56b3a0b57ac07360bca832618e51ba713
Author: Tobias Bouschen <to...@googlemail.com>
AuthorDate: Thu Feb 25 18:59:36 2021 +0100
Add site build workflow for pull requests
Adds a simple site build workflow running only for pull requests. The
job allows us to check whether a PR breaks the site build before merging
it.
---
.github/workflows/build-site.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml
new file mode 100644
index 0000000..714ce58
--- /dev/null
+++ b/.github/workflows/build-site.yml
@@ -0,0 +1,27 @@
+# Builds the site
+#
+# This job builds the website for pull requests to ensure that the PR does not break the build
+name: Build Site
+
+# Conditions necessary to trigger a build
+on:
+ pull_request:
+
+jobs:
+ build:
+ name: Build Site
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ shell: bash
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 1
+
+
+ - name: Build Site
+ run: |
+ mvn clean compile