Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Add PR check and Hugo build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
josephcummings committed Feb 19, 2024
1 parent df5aa1a commit 2907094
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/build-hugo.yml
Original file line number Diff line number Diff line change
@@ -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
20 changes: 20 additions & 0 deletions .github/workflows/pull-request-check.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion content/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title = "Replicator"
linkTitle = "Event Store Replicator"
+++

{{< blocks/cover title="Event Store Replicator" image_anchor="top" height="max" color="primary" >}}
<div class="mx-auto">
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
Expand Down

0 comments on commit 2907094

Please sign in to comment.