This commit is contained in:
Syahrial Agni Prasetya 2024-02-15 09:52:44 +00:00
parent 624fce055a
commit 01092c142c

View File

@ -0,0 +1,24 @@
name: Cloudflare Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.122.0'
- name: Build
run: hugo --minify
- name: Deploy to Cloudflare Pages
run: npx --yes wrangler pages deploy --project-name lemniskett-moe ./public --branch main