From 2907094c68818df8bc60fef94360d569613c72f8 Mon Sep 17 00:00:00 2001 From: Joseph Cummings Date: Mon, 19 Feb 2024 12:09:38 +0000 Subject: [PATCH] Add PR check and Hugo build workflows --- .github/workflows/build-hugo.yml | 30 ++++++++++++++++++++++++ .github/workflows/pull-request-check.yml | 20 ++++++++++++++++ content/_index.html | 2 +- 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-hugo.yml create mode 100644 .github/workflows/pull-request-check.yml diff --git a/.github/workflows/build-hugo.yml b/.github/workflows/build-hugo.yml new file mode 100644 index 0000000..e5c0ca8 --- /dev/null +++ b/.github/workflows/build-hugo.yml @@ -0,0 +1,30 @@ +name: Build Hugo Site +on: + push: + branches: + - 'master' + pull_request: + paths-ignore: + - "**.md" + - ".github/**" + - ".gitignore" + - ".gitattributes" + branches: + - 'master' +jobs: + hugo: + name: Build Hugo Site + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: 'latest' + extended: true + - + name: Build Hugo Site + run: hugo --minify \ No newline at end of file diff --git a/.github/workflows/pull-request-check.yml b/.github/workflows/pull-request-check.yml new file mode 100644 index 0000000..b23567e --- /dev/null +++ b/.github/workflows/pull-request-check.yml @@ -0,0 +1,20 @@ +name: Pull Request Check +on: + pull_request: + paths-ignore: + - "**.md" + - ".github/**" + - ".gitignore" + - ".gitattributes" + types: [opened, edited] +jobs: + checkPullRequest: + name: Pull Request check + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Check pull requests + uses: EventStore/Automations/pr-check@master \ No newline at end of file diff --git a/content/_index.html b/content/_index.html index 8dca3b5..604525b 100644 --- a/content/_index.html +++ b/content/_index.html @@ -2,7 +2,7 @@ title = "Replicator" linkTitle = "Event Store Replicator" +++ - + {{< blocks/cover title="Event Store Replicator" image_anchor="top" height="max" color="primary" >}}
}}">