Skip to content

Commit

Permalink
Add build GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ctmbl committed Oct 24, 2023
1 parent fc6768a commit f54b953
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build HUGO website

on:
# Runs on pull requests to check that the website is building without errors
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: hugo
uses: klakegg/[email protected]
with:
source: ./src
target: ./build/blog
env: production

0 comments on commit f54b953

Please sign in to comment.