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 c331907
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build HUGO website

on:
# Runs on pill requests to check website building
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 c331907

Please sign in to comment.