blob: e6d3a0346b9741277c873548cc49afaf35adee77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
name: Deploy Hugo to Codeberg Pages
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: codeberg-tiny
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v3
with:
hugo-version: "0.164.0"
extended: true
- name: Build
run: hugo --gc --minify --baseURL https://forever2k38.net/
- name: Deploy to Codeberg Pages
uses: https://codeberg.org/git-pages/action@v2
with:
site: https://forever2k38.net/
server: codeberg.page
token: ${{ forgejo.token }}
source: public/
|