Skip to content

Add automatic deployment GH Action #10

Add automatic deployment GH Action

Add automatic deployment GH Action #10

Workflow file for this run

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: 🛠️ Build with HUGO
run: docker compose up builder
- run: tree build
- name: 🚀 Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: ./build/blog